Updating a Kafka Connect Configuration
Update a Kafka Connect configuration in the Streaming service. You can update tags.
To review requirements for working with Kafka Connect, see Using Kafka Connect.
Use the oci streaming admin connect-harness update command and required parameters to update a Kafka Connect configuration:
oci streaming admin connect-harness update --connect-harness-id <kafka_connect_configuration_OCID> --defined-tags <JSON_tags>
For example:
oci streaming admin connect-harness update --connect-harness-id exampleuniqueid --defined-tags "{\"tagNamespace\": {\"tagKey1\": \"tagValue1\",\"tagKey2\": \"tagValue2\"}}" WARNING: Updates to freeform-tags and defined-tags will replace any existing values. Are you sure you want to continue? [y/N]: y
Select
y
and pressEnter
. The Kafka Connect configuration is updated:{ "data": { "compartment-id": "ocid1.tenancy.oc1..exampleuniqueID", "defined-tags": { "tagNamespace": { "tagKey1": "tagValue1", "tagKey2": "tagValue2" } }, "freeform-tags": {}, "id": "ocid1.connectharness.oc1.phx.exampleuniqueID", "lifecycle-state": "UPDATING", "lifecycle-state-details": null, "name": "MyKafkaConnectConfig", "time-created": "2020-08-31T17:26:09.640000+00:00" }, "etag": "\"f3b74455-2584-4f20-a8bd-24068b1d0cba-2f66ecee-2e34-4c92-90d6-5c643b2be3fb\"" }
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the UpdateConnectHarness operation to update a Kafka Connect configuration.