Update a Debezium connector configuration - Amazon Managed Streaming for Apache Kafka
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Update a Debezium connector configuration

To update the configuration of the Debezium connector, follow these steps:

  1. Copy the following JSON and paste it to a new file. Replace the <placeholder> strings with values that correspond to your scenario.

    { "connectorArn": <connector_arn>, "connectorConfiguration": <new_configuration_in_json>, "currentVersion": <current_version> }
  2. Run the following Amazon CLI command in the folder where you saved the JSON file in the previous step.

    aws kafkaconnect update-connector --cli-input-json file://connector-info.json

    The following is an example of the output when you run the command successfully.

    { "connectorArn": "arn:aws:kafkaconnect:us-east-1:123450006789:connector/example-Debezium-source-connector/abc12345-abcd-4444-a8b9-123456f513ed-2", "connectorOperationArn": "arn:aws:kafkaconnect:us-east-1:123450006789:connector-operation/example-Debezium-source-connector/abc12345-abcd-4444-a8b9-123456f513ed-2/41b6ad56-3184-479b-850a-a8bedd5a02f3", "connectorState": "UPDATING" }
  3. You can now run the following command to monitor the current state of the operation:

    aws kafkaconnect describe-connector-operation --connector-operation-arn <operation_arn>