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

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

David Arthur created KAFKA-12501:
------------------------------------

             Summary: 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


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. 



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