Github user harshach commented on a diff in the pull request:

    https://github.com/apache/storm/pull/2104#discussion_r115551459
  
    --- Diff: 
external/storm-kafka-client/src/main/java/org/apache/storm/kafka/spout/internal/OffsetManager.java
 ---
    @@ -49,10 +51,14 @@ public OffsetManager(TopicPartition tp, long 
initialFetchOffset) {
             LOG.debug("Instantiated {}", this);
         }
     
    -    public void add(KafkaSpoutMessageId msgId) {          // O(Log N)
    +    public void ack(KafkaSpoutMessageId msgId) {          // O(Log N)
    --- End diff --
    
    @vivekmittal I think "addAck" is better than just "ack" as its part of the 
storm apis might confuse the method name. Probably better name would be 
"addToAckMsgs" and "addToEmitMsgs"


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to