Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-1481

KafkaSystemConsumer does not properly track highwatermark in some cases.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • None
    • 0.15.0
    • None
    • None

    Description

      The KafkaSystemConsumer currently only updates the isAtHighWatermark when it receives a payload from Kafka.

      This does not work when:
      1. The topic is empty
      2. The oldest or newest offset changes on the broker
      3. An invalid initial offset is used for the consumer and the Kafka auto reset policy kicks in.

      The isAtHighWatermark flag is crucial for topics that we bootstrap (checkpoint, changelog, coordinator) because we poll infinitely until we're at head of stream. And if this flag is wrong, we poll indefinitely.

      Attachments

        Issue Links

          Activity

            People

              jmakes Jake Maes
              jmakes Jake Maes
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: