You need to call `committed()` multiple times. -Matthias
On 11/1/18 12:28 AM, hacker win7 wrote: > Hi, > > After reviewing the KafkaConsumer source about API of *committed():* > I found that old consumer support committed(mutipleTopicPartitions) to > return multiple committed offset, while in new consumer, there is only > committed(singleTopicPartition) and return only one committed offset. > > It is a little weird for me that why new consumer only support fetch single > topic partition committed offset. I search some KIPs but didn't find the > reason about this. Anyway, How to fetch multiple topic partitions committed > offset in new consumer? >
signature.asc
Description: OpenPGP digital signature
