[KAFKA-283] deep cleaning when connector being deleted Created: 26/Jan/22  Updated: 27/Oct/23  Resolved: 26/Jan/22

Status: Closed
Project: Kafka Connector
Component/s: Configuration
Affects Version/s: 1.6.1
Fix Version/s: None

Type: Question Priority: Minor - P4
Reporter: jiazhi zhou Assignee: Ross Lawley
Resolution: Works as Designed Votes: 0
Labels: external-user
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

1. I created a connector using POST curl command, and the connector had transported several data from mongo to kafka successfully.
2. I deleted the connector using DELETE curl command.
3. I recreated the connector using the same config as above, but it has different behavior if i change the name of that config.
4. so i guess something bounding with the name of connector did not get cleaned completely.

can you please check the logic of deleting a connector. i hope that i could get a new completely connector when i create it.



 Comments   
Comment by Ross Lawley [ 26/Jan/22 ]

Closing as there is no Kafka Connect API to use for cleaning up deleted connectors.

Comment by Ross Lawley [ 26/Jan/22 ]

Hi zhoujiazhiwork@163.com

Thank you for reaching out. Just to let you know the Kafka Connect framework handles all the deleting of any connectors added. There is no logic in the Kafka Connect API that can be utilised by a connector. So I think the meta data is all kafka based - most likely offsets. I would recommend checking with the Kafka documentation / support on how best to achieve your aims.

 

All the best,

Ross Lawley

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