Skip to main content

Configuration properties

Properties for a Kafka Messaging Topic are defined by name in the dlc.messaging.kafka.topics namespace, and are picked up as configurations for the DLC.

KafkaTopicProperties

The Kafka Message Topic defines the topic itself along with the configuration of the Message Consumer and the Transaction Controller Task.

MessagingTopicConfigProperties

Defines some performance configuration properties for the message consumer.

TxControllerTaskConfigProperties

Defines some performance configuration properties for the message consumer.

Map<String, String> messagingConsumerProperties

Defines properties required for the KafkaConsumer. These properties are passed directly to the KafkaConsumer. The individual properties required may vary depending on the Kafka Producer in use. Below are a few that may be required:

YAML example

Java configuration

KafkaTopicDescription Spring Beans are picked up as configurations for the DLC.

KafkaTopicDescription

The Kafka Message Topic defines the topic itself along with the configuration of the Message Consumer and the Transaction Controller Task.

KafkaTopicConfigDescription

Defines some performance configuration properties for the message consumer.

TxControllerTaskDescription

Defines some performance configuration properties for the message consumer.

Properties messagingConsumerProperties

Defines properties required for the KafkaConsumer. These properties are passed directly to the KafkaConsumer. The individual properties required may vary depending on the Kafka Producer in use. Below are a few that may be required:

Java example