Apache Kafka Connection¶
Introduction¶
An Apache Kafka connection, created using the Apache Kafka connector, establishes access to Apache Kafka. Once a connection is configured, you can create instances of Apache Kafka activities associated with that connection to be used either as sources (to provide data in an operation) or as targets (to consume data in an operation).
Note
This connector supports the Enable Re-authentication on Change organization policy. If enabled, a change to the Username in this connection requires users to re-enter the Password for the connection.
Create or Edit an Apache Kafka Connection¶
A new Apache Kafka connection is created using the Apache Kafka connector from one of these locations:
- The design component palette's Connections tab (see Design Component Palette).
- The Global Connections page (see Create a Global Connection in Global Connections).
An existing Apache Kafka connection can be edited from these locations:
- The design component palette's Connections tab (see Design Component Palette).
- The project pane's Components tab (see Component Actions Menu in Project Pane Components Tab).
- The Global Connections page (see Edit a Global Connection in Global Connections).
Configure an Apache Kafka Connection¶
Each user interface element of the Apache Kafka connection configuration screen is described below.
Tip
Fields with a variable icon support using global variables, project variables, and Jitterbit variables. Begin either by typing an open square bracket
[
into the field or by clicking the variable icon to display a list of the existing variables to choose from.
-
Connection Name: Enter a name to use to identify the connection. The name must be unique for each Apache Kafka connection and must not contain forward slashes
/
or colons:
. This name is also used to identify the Apache Kafka endpoint, which refers to both a specific connection and its activities. -
Protocol: Select the SASL mechanism to use for the connection:
-
SASL PLAINTEXT: Corresponds with
SASL/PLAIN
. -
SASL SSL: Corresponds with the SSL encryption and authentication option.
-
SASL SSL (SCRAM-SHA-256): Corresponds with
SASL/SCRAM-SHA-256
.
-
-
Bootstrap Servers: Enter a comma-separated list of bootstrap servers to use for establishing the connection to the Apache Kafka cluster.
-
Username: Enter the username for the Apache Kafka cluster.
-
Password: Enter the password for the Apache Kafka cluster.
-
Test: Click to verify the connection using the provided configuration.
-
Save Changes: Click to save and close the connection configuration.
-
Discard Changes: After making changes to a new or existing configuration, click to close the configuration without saving. A message asks you to confirm that you want to discard changes.
-
Delete: After opening an existing connection configuration, click to permanently delete the connection from the project and close the configuration (see Component Dependencies, Deletion, and Removal). A message asks you to confirm that you want to delete the connection.
Next Steps¶
After an Apache Kafka connection has been created, you place an activity type on the design canvas to create activity instances to be used either as sources (to provide data in an operation) or as targets (to consume data in an operation).
Menu actions for a connection and its activity types are accessible from the project pane and design component palette. For details, see Actions Menus in Connector Basics.
These activity types are available:
-
Send Message: Sends streams of data into topics in an Apache Kafka cluster and is intended to be used as a target in an operation.
-
Get Messages: Retrieves streams of data from topics in an Apache Kafka cluster and is intended to be used as a source in an operation.