[KAFKA-58] Kafka Connectors: {"error_code":409,"message":"Cannot complete request momentarily due to stale configuration (typically caused by a concurrent config change)"} Created: 21/Aug/19  Updated: 11/Sep/19  Resolved: 21/Aug/19

Status: Closed
Project: Kafka Connector
Component/s: None
Affects Version/s: 0.1, 0.2
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Mostafa Ghadimi Assignee: Ross Lawley
Resolution: Incomplete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

linux 18.04, docker 18.09, docker-compose 1.24



 Description   

Hi Ross,

 

I still have problem with the kafka-mongo connector image released on github. 

I also asked a [question on stackoverflow|https://stackoverflow.com/questions/57544201/implement-dockerized-kafka-sink-connector-to-mongo].  Would you please answer my question on stackoverflow?

 

To briefly explain what has happend this time, I didn't change any configuration of docker-compose or run.sh files. but I face with the following error:

Kafka Connectors:

{"error_code":409,"message":"Cannot complete request momentarily due to stale configuration (typically caused by a concurrent config change)"}

How can I solve this problem?

 

Thanks,

Mostafa 

 



 Comments   
Comment by Ross Lawley [ 21/Aug/19 ]

Hi mostafa.ghadimi76@gmail.com,

Unfortunately, I'm unable to provide support for custom docker / kafka connect configuration issues. Having googled the error code it comes from the connect Rest API. According to the confluent rest api documentation:

Note that if you try to modify, update or delete a resource under connector which may require the request to be forwarded to the leader, Connect will return status code 409 while the worker group rebalance is in process as the leader may change during rebalance.

It sounds like you need to try the same operation again once the rebalance has taken place and the configuration can be updated again.

If you want to use the debezium connector that is fine but it is not something we support. Perhaps asking via the debezium support channels will help.

Ross

Comment by Mostafa Ghadimi [ 21/Aug/19 ]

PS: It's not even write anything in the database! what should I have to do? I have spent a lot of time on fixing it, unfortunately it doesn't work properly!

 

Generated at Thu Feb 08 09:05:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.