Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Connect REST API provides an endpoint /connectors/<id>/config for a connector's configuration. The endpoint allows to GET a connector's configuration and to PUT a new configuration. The only way to update an existing connector's configuration is to get, modify, and put it using this endpoint. This may cause two issues:

  1. Potential inconsistency lost modifications due to non-atomicity of the update. The configuration can be changed between GET and PUT in an unrelated way. These changes will be overwritten.
  2. Inconvenience, especially when working in a command line using tools like cURL.

...