You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "David Arthur (Jira)" <ji...@apache.org> on 2021/03/18 20:25:00 UTC

[jira] [Updated] (KAFKA-12501) KafkaClusterTestKit should support mixed-mode testing

     [ https://issues.apache.org/jira/browse/KAFKA-12501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Arthur updated KAFKA-12501:
---------------------------------
    Description: 
Follow-on from https://github.com/apache/kafka/pull/10220

We should allow for mixed-mode testing with TestKit. Currently, brokers and controllers nodes are run in their respective modes only (where each has only one process role).

It would be nice to allow for "mixed-mode" where one node has both the broker and controller role. This would help us write tests that verify that all the various listeners are working properly on a single node running both roles.

Additionally, it would be nice to support observer controllers along with voting controllers

As [~hachikuji] [pointed out|https://github.com/apache/kafka/pull/10220#discussion_r588571846], we could probably eliminate some of the manual node building in the testkit code by using KafkaRaftServer directly. 

  was:
Follow-on from https://github.com/apache/kafka/pull/10220

We should allow for mixed-mode testing with TestKit. Currently, brokers and controllers nodes are run in their respective modes only (where each has only one process role).

It would be nice to allow for "mixed-mode" where one node has both the broker and controller role. This would help us write tests that verify that all the various listeners are working properly on a single node running both roles.

As [~hachikuji] [pointed out|https://github.com/apache/kafka/pull/10220#discussion_r588571846], we could probably eliminate some of the manual node building in the testkit code by using KafkaRaftServer directly. 


> KafkaClusterTestKit should support mixed-mode testing
> -----------------------------------------------------
>
>                 Key: KAFKA-12501
>                 URL: https://issues.apache.org/jira/browse/KAFKA-12501
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: David Arthur
>            Priority: Minor
>
> Follow-on from https://github.com/apache/kafka/pull/10220
> We should allow for mixed-mode testing with TestKit. Currently, brokers and controllers nodes are run in their respective modes only (where each has only one process role).
> It would be nice to allow for "mixed-mode" where one node has both the broker and controller role. This would help us write tests that verify that all the various listeners are working properly on a single node running both roles.
> Additionally, it would be nice to support observer controllers along with voting controllers
> As [~hachikuji] [pointed out|https://github.com/apache/kafka/pull/10220#discussion_r588571846], we could probably eliminate some of the manual node building in the testkit code by using KafkaRaftServer directly. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)