Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.0.1
-
None
-
None
-
CentOS 7, Docker
Description
The default implementation of a spout (Kafka) is to wait for acknowledgement, if an acknowledgement is not provided the tuple is replayed leading to an at least once processing model.
Can an option be provided to always acknowledge even in the event of error in any spout or bolt and the user decide which mode the topology should be configured.
There are cases like multiple bolts (B) inserting to persistent stores (PS) like B1 - PS1, B2-PS2, B3-PS3, the fact that B2-PS2 bolt fail doesn't mean that the tuple needs to be replayed leading to complexity on the logic of bolts, it would be easier if this was configurable and the user of the topology decides which style to choose.