xijiu commented on PR #20168:
URL: https://github.com/apache/kafka/pull/20168#issuecomment-3082860443

   > I think this could do with a little more work. If I create a topic `T1` 
with 1 partition, the following command `bin/kafka-consumer-groups.sh 
--bootstrap-server localhost:9092 --reset-offsets --group CG1 --to-earliest 
--topic T1:1 --execute` still hangs for a long time, even though it has called 
`Admin.describeTopics`.
   > 
   > I think it can be improved for the case of a non-existent topic of an 
existing topic. Seems like it's worth fixing this at the same time.
   
   Good find!  It's indeed hangs when a non-existent TopicPartition of an 
existing topic.  
   
   I have added some logic to determine whether the target TopicPartitions 
actually exists, PTAL


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to