Posted: 13 Apr 2020 12:51 EDT Last activity: 14 May 2020 0:29 EDT
How to manually commit offset after consuming from kafka
I am able to receive message from Kafka data-set and store in database using Data-flow.But if there is any issue in data flow while reading a message ,and if we restart the data flow will it read from the last successful message or how it works in pega .Is there any way to manage the consumer offset manually ?
***Edited by Moderator: Pallavi to change content type from Discussion to Question***
***Edited by Moderator Marissa to update Pega Academy to General; update Platform Capability Tags***
We do have a option under the dataset component in the data flow for read options
Read existing and New records
Only read new records.
if you had any issue while running Data flow and you have #1 options selected and on restart it will start processing all the records including old records. and with #2 it will process only the new records entering Kafka/Stream dataset.