yashmayya opened a new pull request, #13375: URL: https://github.com/apache/kafka/pull/13375
- The existing `EmbeddedConnectCluster` (used in Connect integration tests) uses a backing `EmbeddedKafkaCluster` which internally also spins up an `EmbeddedZookeeper`. - This patch migrates the `EmbeddedKafkaCluster` to run in KRaft mode, leveraging the existing [KafkaClusterTestKit](https://github.com/apache/kafka/blob/5f6a050bfee09b634497f9ba35e2964289be1e4d/core/src/test/java/kafka/testkit/KafkaClusterTestKit.java#L80) from `core`. - Connect / MirrorMaker integration tests which setup a Kafka cluster with `SASL_PLAINTEXT` or `SSL` listeners needed to be updated to take into account the controller listeners as well and also update the authorizer used (from `kafka.security.authorizer.AclAuthorizer` to `org.apache.kafka.metadata.authorizer.StandardAuthorizer`, see [KIP-801](https://cwiki.apache.org/confluence/display/KAFKA/KIP-801%3A+Implement+an+Authorizer+that+stores+metadata+in+__cluster_metadata)) since the old authorizer relied on ZooKeeper. - The existing `EmbeddedKafkaCluster` had some logic to restart brokers and have them listening on the same ports as earlier (in order to verify Connect's functionality when its backing Kafka cluster goes down and then comes back up). This was refactored to move the responsibility of using a fixed port in the broker's listeners config to the tests themselves. - Some changes to `KafkaClusterTestKit` in order to allow externally configuring listeners configurations and other minor improvements. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org