Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
SCCC1643798450
Contributor
Contributor

tKafkaInput and tKafkaOutput manual commit and flush

Hi Team,

In one of our job we are using tKafkaInput and tKafkaOutput where we will receive the message, transform it and send to other kafka topic.

tKafkaInput -> Transformation -> tKafkaOutput.

When I see the Talend Java code I could see tKafkaInput create infinite while look and inside that poll the messages from Kafka topic. After polling the message we have forloop to process each message. I have a requirement to manually flush and commit the messages once all the messages in the for loop processing done.

I dont see any way I can include Java code to flush and commit after the for loop ends and before while loop ends. Is there anyway we can manually flush the messages in bulk?

Thanks

Sachin

Labels (3)
1 Reply
Anonymous
Not applicable

Hello

The source files of component are located in <studio installation directory>\plugins\org.talend.designer.components.bigdata_7.3.1.20200214_1052\components\tKafkaInput. If you are interested, back up the component and have a play with the source code.

In addition, I would suggest you to open an issue on Talend Bugtracker if you have feature request.

 

Regards

Shong