[ https://issues.apache.org/jira/browse/KAFKA-15686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17783485#comment-17783485 ]
Philip Nee commented on KAFKA-15686: ------------------------------------ Hi [~ihavenoem...@163.com] - "Now maybe we can use describeTopics method in admin client to check if every partition has a leader." - That would be a feasible solution. > Consumer should be able to detect network problem > ------------------------------------------------- > > Key: KAFKA-15686 > URL: https://issues.apache.org/jira/browse/KAFKA-15686 > Project: Kafka > Issue Type: New Feature > Components: consumer > Affects Versions: 3.5.0 > Reporter: Jiahongchao > Priority: Minor > > When we call poll method in consumer, it will return normally even if some > partitions do not have a leader. > What should we do to detect such failures? Currently we have to check log to > find out broker connection problem. -- This message was sent by Atlassian Jira (v8.20.10#820010)