Savonitar opened a new pull request, #213:
URL: https://github.com/apache/flink-connector-kafka/pull/213
This PR replaces the deprecated
`org.testcontainers.containers.KafkaContainer` with a new `TestKafkaContainer`
wrapper that supports both Confluent Platform and Apache Kafka official images
in KRaft mode (without Zookeeper).
**Key benefits:**
- **No Zookeeper dependency**: Uses KRaft mode, removes the need for
Zookeeper
- **Multi-distribution support**: Works transparently with both Confluent
and Apache Kafka images
- **Future-proof**: Aligns with Kafka's direction (Zookeeper removed in
Kafka 4.0)
The wrapper automatically selects the appropriate testcontainers
implementation based on the Docker image name:
- `ConfluentKafkaContainer` for Confluent Platform images
(`confluentinc/*`)
- `KafkaContainer` for Apache Kafka images (`apache/kafka*`)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]