simplifadmin edited a comment on issue #1209:
URL: 
https://github.com/apache/camel-kafka-connector/issues/1209#issuecomment-861314942


   Here's an update
   
   ```
   apiVersion: kafka.strimzi.io/v1beta2
   kind: KafkaConnector
   metadata:
     name: pubsub-kafka
     namespace: kafka
     labels:
     # must match connect cluster name
       strimzi.io/cluster: my-connect
   spec:
     class: 
org.apache.camel.kafkaconnector.googlepubsub.CamelGooglepubsubSinkConnector
     tasksMax: 5
     config:
     #The Google Cloud PubSub Project Id
       camel.sink.path.projectId: projected
       topics: test-topic
     #The Destination Name. For the consumer this will be the subscription 
name, while for the producer this will be the topic name.
       camel.sink.path.destinationName: projects/senseviewapi/topics/test-topic
     #The Service account key that can be used as credentials for the PubSub 
publisher/subscriber. 
       camel.component.google-pubsub.serviceAccountKey: 
${file:/path-of-the-googlepubsub-key.json}
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to