Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-25368

Use AdminClient to get offsets rather than KafkaConsumer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.15.0
    • 1.15.0
    • None

    Description

      `AdminClient.listOffsets` is provided in Kafka 2.7, In the future more `OffsetSpce` types will be added to it, for example, OffsetSpec.MaxTimestampSpec is added in Kafka 3.0. so it's better to substitute `KafkaConsumer` with `AdminClient`.

      Attachments

        Issue Links

          Activity

            People

              dengziming Deng Ziming
              dengziming Deng Ziming
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: