Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
Currently, when KafkaContainer is started more than one time then
KAFKA_LISTENERS and KAFKA_LISTENER_SECURITY_PROTOCOL_MAP registers
an additional entry, which is duplicated.
Currently, when KafkaContainer is started more than one time then
KAFKA_LISTENERS
andKAFKA_LISTENER_SECURITY_PROTOCOL_MAP
registers an additional entry, which is duplicated.Fixes #8619