Summary
The current test suite fails due to VMware/Broadcom's deprecation of Bitnami. A Kafka source that is not affected by the Bitnami deprecation is required to restore a working test setup.
Motivation
Testing is currently blocked. Restoring a working test setup requires a Kafka source that is not affected by the Bitnami deprecation.
Proposal
Migrate testing to Kafka Testcontainers.
Each test compilation unit (each test file) would run its own Docker Kafka container. Multiple versions are available (Apache vs Confluent, Kraft vs Zookeeper).
The first pass would be an implementation using Apache Kraft Kafka. A later step could add a test macro that enumerates the tests over all of the necessary Kafka distributions.
This change brings in a dependency on local Docker/Podman being available for testing. The current test suite already depends on external Kafka.
https://docs.rs/testcontainers/latest/testcontainers/
https://docs.rs/testcontainers-modules/latest/testcontainers_modules/
@fede1024
Summary
The current test suite fails due to VMware/Broadcom's deprecation of Bitnami. A Kafka source that is not affected by the Bitnami deprecation is required to restore a working test setup.
Motivation
Testing is currently blocked. Restoring a working test setup requires a Kafka source that is not affected by the Bitnami deprecation.
Proposal
Migrate testing to Kafka Testcontainers.
Each test compilation unit (each test file) would run its own Docker Kafka container. Multiple versions are available (Apache vs Confluent, Kraft vs Zookeeper).
The first pass would be an implementation using Apache Kraft Kafka. A later step could add a test macro that enumerates the tests over all of the necessary Kafka distributions.
This change brings in a dependency on local Docker/Podman being available for testing. The current test suite already depends on external Kafka.
https://docs.rs/testcontainers/latest/testcontainers/
https://docs.rs/testcontainers-modules/latest/testcontainers_modules/
@fede1024