You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Stanislav Kozlovski (Jira)" <ji...@apache.org> on 2019/10/24 10:13:00 UTC
[jira] [Created] (KAFKA-9094) Validate the replicas for partition
reassignments triggered through the /admin/reassign_partitions zNode
Stanislav Kozlovski created KAFKA-9094:
------------------------------------------
Summary: Validate the replicas for partition reassignments triggered through the /admin/reassign_partitions zNode
Key: KAFKA-9094
URL: https://issues.apache.org/jira/browse/KAFKA-9094
Project: Kafka
Issue Type: Improvement
Reporter: Stanislav Kozlovski
Assignee: Stanislav Kozlovski
As was mentioned by [~jsancio] in [https://github.com/apache/kafka/pull/7574#discussion_r337621762] , it would make sense to apply the same replica validation we apply to the KIP-455 reassignments API.
Namely, validate that the replicas:
* are not empty (e.g [])
* are not negative negative (e.g [1,2,-1])
* are not brokers that are not part of the cluster or otherwise unhealthy (e.g not in /brokers zNode)
The last liveness validation is subject to comments. We are re-evaluating whether we want to enforce it for the API
--
This message was sent by Atlassian Jira
(v8.3.4#803005)