Replies: 8 comments 7 replies
-
As mentioned before - you should double check if there is no other Connect cluster using the same internal topics and group: https://strimzi.io/docs/operators/0.24.0/full/deploying.html#con-kafka-connect-multiple-instances-str. I would also make sure to set resources for your Connect cluster. When I use Connect, I normally give it 0.5-1 CPU and 1-2 Gi of memory. But I'm not sure how much Debezium really needs. It might need more. Maybe you can also try to use some simpler connectors to see what the problem relates to - e.g. https://github.com/strimzi/strimzi-kafka-operator/blob/0.24.0/examples/connect/source-connector.yaml or I use this for testing: https://github.com/scholzj/echo-sink |
Beta Was this translation helpful? Give feedback.
-
Hi Jakub, Thanks for your response. I have only one connect cluster now but the problem persists. I will try to increase the resources specifically for the connector. We have tried the Sink and Source Filestream connectors and they work fine. |
Beta Was this translation helpful? Give feedback.
-
Thanks Jakub, I have some new errors. How can I use the validate function of the connect-api? So far: resources:
requests:
cpu: "1"
memory: 1Gi
limits:
cpu: "2"
memory: 1Gi Current error: Connector error
From the kubernetes shell (Connect API)
FYI: If I try a JDBC connector, it does show up if I run curl connect-api:8083/connectors from the kubernetes shell |
Beta Was this translation helpful? Give feedback.
-
I'm past the connectivity issue now. From the logs I can see a list of tables in the database so it's reading the database. I may need different configuration so a config validation would be helpful. Current Connector Error: From the kubernetes shell, I tried I also tried curl -s -X PUT -H "Content-Type:application/json" |
Beta Was this translation helpful? Give feedback.
-
So far, I'm not able to find anything pertinent about validate, if you have any links I would appreciate it. Progress: I can't tell if there is any data in the topic. Is there configuration to specify a target topic name and avoid the odd looking topic name? |
Beta Was this translation helpful? Give feedback.
-
I was able to get it working but the error message remains. message: 'GET /connectors/dbz-connector/topics returned 404 (Not Found): |
Beta Was this translation helpful? Give feedback.
-
Strimzi 0.24 |
Beta Was this translation helpful? Give feedback.
-
Thanks! I'm guessing I need something to match my version. -- |
Beta Was this translation helpful? Give feedback.
-
Hello,
We recently started looking at strimzi and are running into errors with the KafkaConnector.
Any suggestions to help troubleshoot or resolve them are welcome. Below is one example.
Thank you,
Lavaughn
strimzi 0.24
kafka 2.8.0
io.debezium.connector.mysql.MySqlConnector
Shared cluster and space does not appear to be an issue
ERROR
'GET /connectors/xyz-connector/config returned 500 (Internal Server Error): Request timed out'
reason: ConnectRestException
KafkaConnect
KafkaConnectorYAML
One interesting and unrelated note: With multiple connect clusters there was extensive log info available from the service connect api. With only one connect cluster no log files were generated until I bumped the logging level to DEBUG in the KafkaConnect
Beta Was this translation helpful? Give feedback.
All reactions