Shekharrajak commented on code in PR #7089:
URL: https://github.com/apache/kafka/pull/7089#discussion_r1641335046
##########
core/src/main/scala/kafka/admin/TopicCommand.scala:
##########
@@ -294,6 +295,12 @@ object TopicCommand extends Logging {
val partitionDesc = PartitionDescription(topicName, partition,
Some(config), markedForDeletion = false)
describeOptions.maybePrintPartitionDescription(partitionDesc)
}
+ } catch {
+ case e: ExecutionException => {
+ print("\tTopic: " + topicName)
+ print("\t(LISTENER_NOT_FOUND)")
Review Comment:
What aboue other exceptions ? Isn't it we should make sure we capture each
type of exceptions and handle them like leader not available, unknown topic or
partition ?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]