Kafka Connect for GCP PubSub using Strimzi Operator

121 views Asked by At

i have setup kafka cluster using the Strimzi Operator v0.38 and Kafka Cluster 3.5.1 in my GKE cluster. I am now in confusion how to setup the YAML file to build the Kafka Connector so i can pull the message in GCP Pub Sub topic. Is there anyone that can help me? Really appreciate your help.

1

There are 1 answers

3
Sara M. On

You need first to deploy a kafka connect using Strimzi CRD file of kind KafkaConnect and then configure the PubSub Sink Connector.

See an example of deploying a sink mongo connector with Strimzi, you just need to change the sink mongo connector to PubSub Sink Connector with his configs