simplifadmin commented on issue #1209:
URL:
https://github.com/apache/camel-kafka-connector/issues/1209#issuecomment-861264426
The new look for authentication - Please this the way to implement
serviceAccountKey?
```
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: <projectID>
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/project/topics/test-topic
#The Service account key that can be used as credentials for the PubSub
publisher/subscriber.
camel.component.google-pubsub.serviceAccountKey: "{{key.json}}"
integration:
configuration:
- type: "secret"
value: "pubsub-key"
```
--
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]