streamthoughts / jikkou

The Open source Resource as Code framework for Apache Kafka. Jikkou helps you implement GitOps for Kafka at scale!
https://www.jikkou.io/
Apache License 2.0
204 stars 20 forks source link

Migrate integration tests to the new official docker image for Apache Kafka #490

Open fhussonnois opened 1 month ago

fhussonnois commented 1 month ago

Is your feature request related to a problem? Please describe. The project uses TestContainers for integration tests.

Currently, all integration tests that require an apache kafka cluster are based on the confluentinc/cp-kafka docker image which can take some time to be downloaded and setup.

Here is the Java base class for kafka tests: https://github.com/streamthoughts/jikkou/blob/main/providers/jikkou-provider-kafka/src/integration-test/java/io/streamthoughts/jikkou/kafka/AbstractKafkaIntegrationTest.java

Describe the solution you'd like Since release 3.8, an official docker image is available for Apache Kafka: https://hub.docker.com/r/apache/kafka-native

The Jikkou project could benefits from that new docker image if the AbstractKafkaIntegrationTest is changed to use that new docker image (see doc: https://testcontainers.com/modules/kafka/).

selamanse commented 3 weeks ago

@fhussonnois I'd like to try this. can you assign me plz ?