Feature Request: Kafka Node — Option to Commit Offset After Workflow Completion [GOT CREATED]

Hi n8n team! :waving_hand:

I’d like to suggest a new feature for the Kafka node. Currently, messages consumed from Kafka are marked as read (offset committed) immediately upon being picked up by the node. This can lead to issues in cases where the message processing fails later in the workflow, as the message is already acknowledged and won’t be retried.

Feature request:

Add an option to commit the Kafka offset only after the entire workflow has successfully completed .

Good news — this has been released in n8n v0.228.0 via #6175. Setting the new Parallel Processing option to off in the Kafka Trigger node defers offset commit until the workflow finishes (the trigger awaits workflow completion before returning from each consumed message, so kafkajs won’t advance to the next offset on failure). Closing as completed.

1 Like