[ https://issues.apache.org/jira/browse/FLINK-25368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fabian Paul resolved FLINK-25368. --------------------------------- Fix Version/s: 1.15.0 Resolution: Fixed > 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 > Affects Versions: 1.15.0 > Reporter: dengziming > Assignee: dengziming > Priority: Minor > Labels: pull-request-available > Fix For: 1.15.0 > > > `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)