Configure a Kafka connection

task australia Updated Sep 10, 2026 1 min read configure-kafka-connection.md
Raw file servicenow.com

Configure a connection to your Apache Kafka environment.

Before you begin

About this task

Configure connection and credential records for connecting to your local Apache Kafka environment.

  • The connection record contains the information required for making the connection to your local Kafka. Connection records are stored in the Kafka Connections [kafka_connection] table.
  • The credential record stores the authentication data required for the connection. Credential records are stored in the Kafka credentials [kafka_credentials] table.

After you've created both the connection record and the credential record, you can Create a Connection & Credential alias, which links your connection information and the credential data under a single name.

Procedure

  1. Navigate to All > IntegrationHub > Connections & Credentials > Connections.

  2. Select New.

  3. On the form asking what type of connection you would like to create, select Kafka Connection.

  4. On the Kafka Connection form, fill in the fields.

 

 

Name

Name for the connection.

Credential

Name of the credential used to authorize this connection.

Application

Application scope for the message replication. This field is automatically set.

Active

Option to activate the connection.

Connection alias

Name of the connection alias to associate with this connection.

Bootstrap servers

Comma-separated list in the format HOST:PORT,HOST:PORT. The list doesn't need to include all of the Apache Kafka cluster servers.

Consumer group id

Kafka consumer group.id. If not provided, the value is created with the format {instance_name}-consumer-{kafka_connection.sys_id}

Additional client properties

Any additional client properties that should be specified when connecting to Kafka. For a full list and description of the available properties, see the Kafka documentation at https://kafka.apache.org/documentation/.

Use MID Server

Option to use a MID Server. This field is automatically selected.

Advanced MID Server Configuration

MID Selection

Option to select a specific MID Server or MID Cluster. Options are:- Specific MID Server

  • Specific MID Cluster

MID Server or MID Cluster

Name of the MID Server or MID Cluster to use.

5. Select **Submit**.

What to do next

Create a Connection & Credential alias with a Connection type of Kafka.

Parent Topic:Stream Connect Message Replication

Search documentation
Search document titles and file paths on the australia branch