Search code examples
apache-kafkaaws-msk

Pause MSK Kafka Connector (Sink) without deleting


I am trying to write down procedure for if something goes off with the database we're sinking into. Idea is to:

  1. pause/disable connector
  2. reset offsets
  3. enable connector back

However, it seems that pausing MSK connector is not possible. Is there any way I can pause or effectively disable it without deleting it?


Solution

  • Tried adding this as a comment but stackoverflow did not let me. I don't think AWS allows us to do that. You might have to delete the connector, reset offsets and then re-create it.

    Here's a post mentioning it is planned in future releases: https://repost.aws/questions/QUi4UW_uFpTdSeDYXR7MKr2w/is-there-a-way-to-update-connector-configuration-using-msk-connect-api