Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
KAFKA-8670: Fix exception for kafka-topics.sh --describe without --topic mentioned #7094
If there are no topics in a cluster, kafka-topics.sh --describe without a --topic option should return empty list, not throw an exception.
We pass a boolean flag to
NOTE: I have added the
Summary of testing strategy (including rationale)
I added the necessary unit test to check for this case.
Describe without topic name - Before
Describe without topic name - After (no output)
Committer Checklist (excluded from commit message)