Prerequisites
You must have a GCP project in order to use Cloud Pub/Sub or Pub/Sub Lite. Follow these setup steps for Pub/Sub before doing the quickstart. Follow these setup steps for Pub/Sub Lite before doing the quickstart. For general information on how to authenticate with GCP when using the Google Cloud Pub/Sub Group Kafka Connector library, please visit Provide credentials for Application Default Credentials.Quick Start
- Setup the kcctl client: doc
- Create a Pub/Sub topic in your GCP project.
- Create a JSON file like the following:
- Run the following command to create the connector:
Configuration
The Google Pub/Sub Lite source connector is configured using the following properties:
The full properties are also available from the Official Google Pub/Sub Lite Kafka Source Connector documentation.