Certainly, when dealing with Kafka consumers in an ACE (App Connect Enterprise) flow, you can manually commit offsets to ensure message processing integrity, especially in the presence of exceptions. To handle exceptions gracefully, use a try-catch block. Inside the catch block, include logic to commit the offset, ensuring that even if an exception occurs, the consumer's offset is updated to prevent message reprocessing upon recovery. This approach enhances the reliability and consistency of your ACE flow in Kafka message consumption scenarios.
------------------------------
Charles Douthart
------------------------------
Original Message:
Sent: Fri November 17, 2023 04:17 PM
From: Arun
Subject: Manual offset commit of Kafka msg in ACE flow
Is there a way to commit offset in kafka consumer node manually in ACE flow while there is an exception in the middle of the flow after consuming msg from kafka consumer node.
------------------------------
Arun Kumar Gughanandam
------------------------------