Browse Source
Currently Fetcher.getTopicMetadata() will not include offline partitions. Thus KafkaConsumer.partitionsFor(topic) will not return all partitions of a topic if there if any partition of the topic is offline. This causes problem if user tries to query the total number of partitions of the given topic. Author: radai-rosenblatt <radai.rosenblatt@gmail.com> Reviewers: Jason Gustafson <jason@confluent.io>, Rajini Sivaram <rajinisivaram@googlemail.com> Closes #4679 from radai-rosenblatt/partition_shenaniganspull/5457/head
radai-rosenblatt
6 years ago
committed by
Dong Lin
2 changed files with 47 additions and 1 deletions
Loading…
Reference in new issue