Create a JSON file that contains the connector configuration properties. The
following example shows the required connector properties.
{
"name" : "confluent-pubsub-source",
"connector.class": "PubSubSource",
"kafka.api.key": "<my-kafka-api-key>",
"kafka.api.secret" : "<my-kafka-api-secret>",
"kafka.topic" : "customers",
"gcp.pubsub.credentials.json" : "omitted",
"gcp.pubsub.project.id": "<gcp-project-ID>",
"gcp.pubsub.topic.id":"<pubsub-topic-ID>",
"gcp.pubsub.subscription.id": "<pubsub-subscription-ID>",
"tasks.max" : "1"
}