Github user srdo commented on the issue:

    https://github.com/apache/storm/pull/1919
  
    Please see https://github.com/apache/storm/pull/1919#discussion_r99888764 
and 
https://storm.apache.org/releases/1.0.0/javadocs/org/apache/storm/Config.html#TOPOLOGY_ACKER_EXECUTORS.
 If ack=0 Storm will call `ack` immediately on emit.
    
    Yes, some tuples may be replayed if the spout crashes. What I'm saying is 
you can't currently configure the spout to commit after every ack. So it's not 
really at-most-once, so we shouldn't call it that. It's confusing.
    
    Emitting with null message id is an option, but then you have to make sure 
that emitted tuples leave no state behind (i.e. they aren't put in `emitted`). 
It also prevents you from getting best-effort replaying unless you explicitly 
check for ackers in `emitIfNotEmitted`. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to