You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "James Clinton (JIRA)" <ji...@apache.org> on 2016/09/16 13:15:20 UTC

[jira] [Created] (KAFKA-4181) Processors punctuate() methods call multiple times

James Clinton created KAFKA-4181:
------------------------------------

             Summary: Processors punctuate() methods call multiple times
                 Key: KAFKA-4181
                 URL: https://issues.apache.org/jira/browse/KAFKA-4181
             Project: Kafka
          Issue Type: Bug
          Components: streams
    Affects Versions: 0.10.0.1, 0.10.0.0
            Reporter: James Clinton
            Assignee: Guozhang Wang


I'm seeing odd behaviour whereby a Processor's punctuate(..) method is not invoked based on the schedule, but builds up a backlog of pending punctuate() calls that get flushed through when the Processors process() method is next called.

So for example:
1. Schedule the punctuate() methods to be called every second.  
2. A minute passes
3. Processor.process() receives a new message
4. Processor.punctuate(..) is invoked 60 times






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)