4.1.1.12 Creating a Connection to Kafka

To create a connection to Kafka:
  1. On the Catalog page, click Create New Item.
  2. Hover the mouse over Connection and select Kafka from the submenu.
  3. On the Type Properties screen, enter the following details:
    • Name: Enter a unique name for the connection. This is a mandatory field.
    • Display Name: Enter a display name for the connection. If left blank, the Name field value is copied.
    • Description
    • Tags
    • Connection Type: The selected connection is displayed.
  4. Click Next.
  5. On the Connection Details screen, enter the following details:
    • Use Bootstrap: Check this box to use a bootstrap based connection.

    • Zookeepers: Enter the zookeeper URL. Use this option only if you did not select the Use Bootstrap box in the previous step.

    • Kafka bootstrap: Enter the bootstrap URL.

    • SSL: Check this box to connect to an SSL enabled Kafka cluster.

      • Truststore Location: Locate and upload the truststore file. This field is applicable only to connect to an SSL enabled Kafka cluster.

      • Truststore Password: Enter the truststore password.

    • SASL: Check this box if Kafka broker requires authentication.

      • User Name: Enter the SASL username for the Kafka broker.

        You can retrieve this information from the OCI console. This field is enabled only if you have checked the SASL option.

      • Password: Enter the SASL password, which is an authentication token that you can generate on the User Details page, of the OCI console.

        Note:

        Copy the authentication token when you create it, and save it for future use. You can not retrieve it at a later stage.

    • MTLS: Select MLTS to enable 2-way authentication of both the user and the Kafka broker.
      • Truststore: Locate and upload the truststore file. This field is applicable only to connect to an SSL enabled Kafka cluster.

      • Truststore Password: Enter the truststore password.

      • Keystore: Locate and upload the keystore file. This field is applicable only to connect to an SSL enabled Kafka cluster.

      • Keystore Password: Enter the keystore password.

  6. Click Test Connection, to ensure that you have successfully created a connection.
  7. Click Save.