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

Creating Kafka topic names dynamically in Replicate.

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

Creating Kafka topic names dynamically in Replicate.

Last Update:

Aug 28, 2020 6:00:03 AM

Updated By:

Sonja_Bauernfeind

Created date:

Aug 20, 2020 8:59:29 AM

To create a topic whose name is derived dynamically is achieved by creating a new column called $topic, then creating a transformation with an expression that sets the value you want to use as the topic name. 

 

Below is an example of having a topic per source table name : 

 

Create a global transformation that looks like this : 

David_Fergen_0-1597928306663.png

 

NOTE : The type MUST be STRING(0), any other type, including strings of explicit lengths, cause your messages to go down a black hole. 

 

David_Fergen_1-1597928306664.png

 

 

Labels (2)