Updating a Kafka Connect Configuration

Update a Kafka Connect configuration in the Streaming service. You can update tags.

If you have permissions to create a resource, then you also have permissions to apply free-form tags to that resource. To apply a defined tag, you must have permissions to use the tag namespace. For more information about tagging, see Resource Tags.

To review requirements for working with Kafka Connect see Using Kafka Connect.

    1. On the Kafka Connect Configurations list page, find the Kafka Connect configuration that you want to work with. If you need help finding the list page or the Kafka Connect configuration, see Listing Kafka Connect Configurations.
    2. From the Actions menu (Actions Menu), select Add tags or View tags.
    3. Add one or more tags to the Kafka Connect configuration.
  • 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 press Enter. 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.