Skip to main content
Announcements
UPGRADE ADVISORY for Qlik Replicate 2024.5: Read More
cancel
Showing results for 
Search instead for 
Did you mean: 
GulshanKaur
Contributor
Contributor

Custom python code

Requirement: In Qlik CDC Replicate tool, we want to call a custom python code/class/API, to map the kafka topics based on filter condition.e.g. the Qlik  Replicate AVRO message should map to Kafka topic 1 in most of the scenario, in some scenario it should map to Kafka topic 2

Question - In Qlik Replicate – do we have a provision to call Custom user defined Python or Java or any programming code/class/service/API to do the above requirement.

Labels (1)
  • Other

1 Reply
john_wang
Support
Support

Hello @GulshanKaur ,

Thanks for reaching out!

Qlik Replicate supports rich built-in transformations, and we also support User-defined transformations to extend calling tailor-made user modules, the UDTF should be written in C. In current versions Replicate does not support other coding languages eg Python code/class at the moment.

When it comes to the original request, looks to me it can be achieved without TDTF, you can use $topic - To write messages to a specific topic to get the topic name calculated by your expression, then the message will delivered to the corresponding topic. We may even control the partition and message key by the similar approach. Feel free to let us know if you need any additional assistance.

Regards,

John.

 

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!