WE need to know how pega knows if message posted successfully in kafka topic using data set execute method “save”. Is there any acknowledgment taken care automatically by Pega?
@LaimonasG8352 In what use case would you like to use Data-Set Execute over Data-Flow Execute? Data Flows offer additional resiliency and observability. They have inbuild mechanism to retry, if the request is not successful in the first attempt.
To answer your question, if the dataset execute doesn’t return an error, that would confirm that the record is saved.
@LaimonasG8352If you set below DSS to true, then you can check whether dataset-execute failed or not using StepStatusFail in the jump step. If the step status good, it means message produced successfully.
dataset/execute/save/statusFailOnError
reference: Pegasystems Documentation
@EngincanY Thank you this helped a lot.
@kapov Thanks for reply. Idea is that we put message to topic at the end of case process. But I got the answer regarding DSS which enables some sort of acknowledgment.
@LaimonasG8352 please can you click ‘Accept Solution’ link if your question is answered?