David Jacot created KAFKA-12329:
-----------------------------------
Summary: kafka-reassign-partitions command should give a better
error message when a topic does not exist
Key: KAFKA-12329
URL: https://issues.apache.org/jira/browse/KAFKA-12329
Project: Kafka
Issue Type: Improvement
Reporter: David Jacot
Assignee: David Jacot
The `kafka-reassign-partitions` command spits out a generic when the
reassignment contains a topic which does not exist:
{noformat}
$ ./bin/kafka-reassign-partitions.sh --bootstrap-server localhost:9092
--execute --reassignment-json-file reassignment.json
Error: org.apache.kafka.common.errors.UnknownTopicOrPartitionException: This
server does not host this topic-partition.
{noformat}
When the reassignment contains multiple topic-partitions, this is quite
annoying. It would be better if it could at least give the concerned
topic-partition.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)