'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 1:[1]
If the Connect REST API is not directly accessible in other ways, then it seems that delete/recreate is the only option.
For sink connectors, that's a relatively safe option because consumer offsets are tracked by the connector name itself and there's no state stored outside of the internal Connect topics
Solution 2:[2]
Based on an answer I got from AWS, it's indeed not supported at the moment. It's in their roadmap, but they don't have an ETA at the moment. They suggest to follow the information here, for upcoming improvements.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | OneCricketeer |
| Solution 2 | omer |
