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

KafkaConsumer doesn't report records-lag if isolation.level is read_committed

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.1, 2.1.0
    • Component/s: clients
    • Labels:

      Description

      Starting from 2.0.0, KafkaConsumer doesn't report records-lag if isolation.level is read_committed. The last version, where it works is 1.1.1.

      The issue can be easily reproduced in kafka.api.PlaintextConsumerTest by adding consumerConfig.setProperty("isolation.level", "read_committed") witin related tests:

      • testPerPartitionLagMetricsCleanUpWithAssign
      • testPerPartitionLagMetricsCleanUpWithSubscribe
      • testPerPartitionLagWithMaxPollRecords

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lambdaliu lambdaliu
                Reporter:
                avakhrenev Alexey Vakhrenev
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: