Skip to content

Convert testing suite to TestContainers. #797

@j7nw4r

Description

@j7nw4r

The current test suite seems to fail due to VMWare/Broadcom's deprecation of Bitnami (shakes fist).

To get testing back on track, I suggest that we migrate the testing to use Kafka Testcontainers.

Essentially, each test compilation unit (each test file) would run it's own docker Kafka container. There are even multiple versions available (Apache vs Confluent, Kraft vs Zookeeper).

The first pass would would be implementation using Apache Kraft Kafka. Eventually I think we could create a test macro would would enumerate the tests over all of the necessary Kafka distributions.

This change would bring in a dependency on local Docker/Podman being available for testing, but I don't think that is a big deal given that the current test suite depends on external Kafka.

Thoughts? If we're in agreement, I can take this one.

https://docs.rs/testcontainers/latest/testcontainers/
https://docs.rs/testcontainers-modules/latest/testcontainers_modules/

@fede1024

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions