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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.1, 2.1.0
    • clients

    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

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

              Dates

                Created:
                Updated:
                Resolved: