Skip to main content
Announcements
Qlik Connect 2025! Join us in Orlando join us for 3 days of immersive learning: REGISTER TODAY

How to configure Kafka producer properties?

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
David_Fergen
Former Employee

How to configure Kafka producer properties?

Last Update:

Aug 28, 2020 6:07:16 AM

Updated By:

Sonja_Bauernfeind

Created date:

Jul 22, 2020 5:05:26 PM

The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.

Description:

Replicate is using librdkafka to produce messages to Kafka. The Kafka producer has a set of configuration properties with default values. These values can be configured using internal parameters.

SOLUTION:
 
Configuring the Kafka Producer

The list of configuration properties is available at the following URL:
https://github.com/edenhill/librdkafka/blob/2df048ba8118cba73d0551564b7a15eeb65cd5b8/CONFIGURATION.m...

There are two levels of properties: 

  1. Global - use internal parameter rdkafkaProperties to configure these properties
  2. Topic - use internal parameter rdkafkaTopicProperties to configure these properties

Note:

  • Only Producer properties can be configured (marked with “P” or “*”), not Consumer properties (marked with “C”).
  • Use a semicolon (;) to specify multiple Global-level properties or multiple Topic-level properties.
Examples:

Configuring the Global-level properties topic.metadata.refresh.interval.ms and socket.timeout.ms 
 

Parameter Value
rdkafkaProperties topic.metadata.refresh.interval.ms=500000;socket.timeout.ms=100000
 
Configuring the Topic-level property message.timeout.ms
 
Parameter Value
rdkafkaTopicProperties message.timeout.ms=400000

 

Labels (2)
Version history
Last update:
‎2020-08-28 06:07 AM
Updated by: