[
https://issues.apache.org/jira/browse/FLINK-25368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17468608#comment-17468608
]
Martijn Visser commented on FLINK-25368:
----------------------------------------
Thanks for the comment on needing to have a FLIP because of the @PublicEvolving
annotation. One thing that I would also like to understand in a FLIP is what
this means with regards to which versions of the Kafka Client we would support.
Would there be a minimum version requirement for Kafka brokers/clients?
> Use AdminClient to get offsets rather than KafkaConsumer
> --------------------------------------------------------
>
> Key: FLINK-25368
> URL: https://issues.apache.org/jira/browse/FLINK-25368
> Project: Flink
> Issue Type: Improvement
> Reporter: dengziming
> Priority: Minor
> Labels: pull-request-available
>
> `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`.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)