apache-kafka-connectaws-msks3-kafka-connectoraws-msk-connect

Is there a way to update connector configuration using MSK-connect API?


I have an s3 connector deployed on MSK Connect, and a repository on github with the json connector configuration file. I'd like to update the connectors configuration on demand via MSK's REST API. I've checked the API documentation, but it seems like the UpdateConnector API only allows to modify the capacity configuration. The CreateConnector API does allow to provide connector configuration, but it returns an error if the connector already exists. I could delete and then recreate the connector, but this doesn't seem like a good approach.

Is there another way to update a running connector configuration?


Solution

  • I created an account just to update this to say that you no longer have to despair if you need to update a connector and AWS added this feature https://docs.aws.amazon.com/msk/latest/developerguide/mkc-update-connector.html