Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2615

Poll() method is broken wrt time

    XMLWordPrintableJSON

Details

    Description

      Initially reported by ewencp and discussed with hachikuji. In NetworkClient.java, the poll() method receives as input a "now" parameter, does a whole bunch of work (e.g., selector.poll()) and then keeps using "now" in all the subsequent method calls.

      Passing Time everywhere instead of "now" is a potential fix, but might be expensive since it's a new system call.

      Attachments

        Issue Links

          Activity

            People

              enothereska Eno Thereska
              enothereska Eno Thereska
              Guozhang Wang Guozhang Wang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: