[ 
https://issues.apache.org/jira/browse/KAFKA-16964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17870815#comment-17870815
 ] 

Chia-Ping Tsai commented on KAFKA-16964:
----------------------------------------

hi [~jsancio] [~brandboat]

It seems to me new test infra (KafkaClusterTetsKit) should support to "create" 
a controller which does not join the cluster. And then we can use `Admin` to 
add/remove the controller to cluster. For example:

{code:java}
// this controller is NOT in cluster
val newVoter =  clusterInstance.createController(configs)
admin.addRaftVoter(newVoter.id, newVoter.dirId, Set(newVoter.endpoint))
{code}

I will create a sub task (https://issues.apache.org/jira/browse/KAFKA-17260) to 
enhance that, and then we can write IT for that scenario

> Add and remove voter integration tests
> --------------------------------------
>
>                 Key: KAFKA-16964
>                 URL: https://issues.apache.org/jira/browse/KAFKA-16964
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: kraft, unit tests
>            Reporter: José Armando García Sancio
>            Priority: Major
>
> Add integration tests that add and remove controllers.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to