Configuring a Kafka handler
How to configure a Kafka handler.
Before you begin
Configure a Kafka cluster in the DataPower® domain. For details, see Configuring a Kafka cluster.
About this task
A Kafka handler monitors the request topic for incoming client requests. To configure a Kafka
handler, define the following properties.
- Which Kafka cluster to associate.
- The request topic to monitor for incoming client requests. On receipt, the handler forwards the extracted message to the DataPower service for processing. You can validate messages on the request topic against an Avro schema in the local: directory.
- Because the Kafka server might not expect responses, the response topic to send responses after DataPower processing. When not configured, processed messages are dropped. You can validate messages on the response topic against an Avro schema in the local: directory.
- The consumer group for retrieving messages.
- The number of messages that the handler processes as a batch. The handler attempts to retrieve the number of specified messages from the consumer and processes these messages as a batch. This setting is meaningful only when the Kafka cluster is configured to commit offsets to the offset store at the defined interval.
Procedure
What to do next
Associate the handler with a DataPower service.