Skip to main content
Skip table of contents

Apache Kafka Producer Adapter

The Designer allows to write synchronous messages to an Apache Kafka event topic. The access to Kafka can be configured statically by an alias - dynamic access is not available. The Kafka Producer supports SSL but no Kerberos authentication.

To use the Apache Kafka Producer adapter, you need basic knowledge of Apache Kafka. Refer to the Apache Kafka Documentation for any deeper insights.

You can find all data types and operations of the Kafka Producer adapter in the service panel at Base Types/Bridge Base/Base Components/Add Ons/Kafka.

The Apache Kafka documentation speaks of events that contain a message, or of records in more technical parts of the documentation. This documentation summarizes all under the term "message".

Adding a Kafka Producer Adapter Operation to a Diagram

Expand the path to the Kafka Producer adapter in the service panel (Base Types/Bridge Base/Base Components/Add Ons/Kafka):

You can drag out operations from the data model to any diagram:

The example shows how to add a Kafka Producer adapter operation to a BPMN execution diagram:

drag_operation_kafka.png

Configuring the Kafka Producer Adapter Operation

Once an operation has been added to a diagram, it needs to be configured as a Kafka Producer adapter.

Select the newly added Kafka Producer adapter operation and switch to the Attributes panel:

grafik-20240926-074125.png

Depending on the diagram type you can see the following information (example BPMN execution diagram):

Attribute

Description

Allowed Values / Examples

Name

The name of the Kafka Producer adapter operation.

produce

Symbol Type

Operations added to an execution diagram are execution steps.

Execution Step

All this is predefined and cannot be changed.

Click Add Stereotype to define the selected operation as to be a Kafka Producer adapter:

grafik-20240926-074159.png

Select Kafka Producer Adapter from the list of available adapter stereotypes. Click Save:

grafik-20240926-074213.png

The Attributes panel shows the added adapter stereotype. Now you still need to configure the adapter. To configure a Kafka Producer adapter, you have the following options:

grafik-20240926-074251.png

alias: A Kafka Producer adapter is configured via its alias.

You can select an existing alias from a drop-down list by clicking the text Select alias:

grafik-20240926-112229.png

If you want to remove an added alias, select None from the drop-down list:

grafik-20240926-112412.png

You can also create and add a new alias by clicking the corresponding Plus option:

grafik-20240926-074328.png

Refer to Aliases for more information on how to create a new alias.

In the following dialog, name and configure the new alias. Refer to Apache Kafka Producer Reference for more information on the configuration options of this adapter.
Click Save to create and add the new alias:

grafik-20240926-070129.png

Related Documentation:

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.