Available on crate feature
kafka only.Expand description
Test container based on Confluent Kafka Image
Structs§
- Kafka
- Module to work with
Apache Kafkainside of tests.
Constants§
- DEFAULT_
BROKER_ ID - The default broker id.
- DEFAULT_
CLUSTER_ ID - The default cluster id to use.
- DEFAULT_
INTERNAL_ TOPIC_ RF - The default Replication Factor to use.
- KAFKA_
PORT - Port that the
Kafkapart of the container has internally Can be rebound externally viatestcontainers::core::ImageExt::with_mapped_port - ZOOKEEPER_
PORT - Port that the
Zookeeperpart of the container has internally Can be rebound externally viatestcontainers::core::ImageExt::with_mapped_port