mirror of https://github.com/apache/kafka.git
MINOR: fix failed StreamsBrokerBounceTest e2e tests (#19839)
Currently some tests in StreamsBrokersBounceTest failed due to error `The cluster does not support the STREAMS group protocol or does not support the versions of the STREAMS group protocol used by this client (used versions: 0 to 0).` The reason is that under isolated kraft mode, we missed to set both `unstable.api.versions.enable` and `unstable.feature.versions.enable` to true to all controllers, which cause `streams.version` fallback to 0 in the broker side and the above error raise when StreamsGroupRequestHeartbeat comes to the broker. This patch add the missing configs to controllers properties if streams group protocol is used. Reviewers: Lucas Brutschy <lbrutschy@confluent.io>
This commit is contained in:
parent
8f1a1cd838
commit
8d0097f60c
|
@ -357,7 +357,8 @@ class KafkaService(KafkaPathResolverMixin, JmxMixin, Service):
|
|||
listener_security_config=listener_security_config,
|
||||
extra_kafka_opts=extra_kafka_opts, tls_version=tls_version,
|
||||
isolated_kafka=self, allow_zk_with_kraft=self.allow_zk_with_kraft,
|
||||
server_prop_overrides=server_prop_overrides, dynamicRaftQuorum=self.dynamicRaftQuorum
|
||||
server_prop_overrides=server_prop_overrides, dynamicRaftQuorum=self.dynamicRaftQuorum,
|
||||
use_streams_groups=self.use_streams_groups
|
||||
)
|
||||
self.controller_quorum = self.isolated_controller_quorum
|
||||
|
||||
|
|
Loading…
Reference in New Issue