-
|
Hi team, I am deploying debezium (outbox and iceberg connectors ) on kafka connect service running on google kubernetes engine but whenever a new connector is deployed , the tasks are not getting initialized until the service webserver /worker pods are restarted , no error is shown in the logs. Config Providersconfig.providers=env ==============================================================================INFO {{.CommentLine}} is used to comment lines during developmentgroup.id=kafka-connect-cluster-{{.AppEnv}} 10min, RECREATEscheduled.rebalance.max.delay.ms=600000 pluginsplugin.path=/opt/kafka/plugins ==============================================================================Workers Config{{.CommentLine}}sasl.mechanism=PLAIN ==============================================================================Connectors Configconnector.client.config.override.policy=All Source connectors{{.CommentLine}}producer.sasl.mechanism=PLAIN Sink connectors{{.CommentLine}}consumer.sasl.mechanism=PLAIN Our resource allocation/ number of pods running/using strimzi kafka image are all good. Earlier we tried adding connect.protocol=eager in template but it makes all the connector in unassigned state though the tasks got initialized but again no use. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 6 replies
-
|
A good start would be to:
Also, are you actually using Strimzi? The config you shared is badly formatted and pretty unreadable. But it does not look like Strimzi. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @scholzj Apologies foe bring too late to reply, I got busy in some other thing but now I am back on this issue. I can share connect.yaml and Dockerfile for how we are building the connect image to deploy on GKE. |
Beta Was this translation helpful? Give feedback.
-
|
Yes we just use strimzi container image to build connect image for our service. I did not mean that we use strimzi directly , I took my question to kafka connect slack and those folks sent me here |
Beta Was this translation helpful? Give feedback.
-
|
So do you have some idea on this connect deployment running on kubernetes failing to rebalance tasks when a new connector is deployed until the service restarts |
Beta Was this translation helpful? Give feedback.
-
|
@scholzj My bad if I was unable to explain the problem clearly. This issue is related to kafka-connect using debezium connector plugin. If you have some time and you think you can help me , I can send you a google meet or else could you point me to some places where I can ask for help. |
Beta Was this translation helpful? Give feedback.
-
|
@scholzj Just wanted to let you know that I found the issue , the correct value for listeners and port when running more than 1 replicas of connect in kubernetes are as below: yes this is not a part of strimzi but can be helpful for anyone else who have a similar use-case. |
Beta Was this translation helpful? Give feedback.
@scholzj Just wanted to let you know that I found the issue , the correct value for listeners and port when running more than 1 replicas of connect in kubernetes are as below:
listeners=HTTP://0.0.0.0:8083
rest.advertised.host.name={{.PodIP}}
rest.advertised.port=8083
yes this is not a part of strimzi but can be helpful for anyone else who have a similar use-case.