public String getBootstrapServers() {
        return brokers.stream().map(KafkaContainer::getBootstrapServers).collect(Collectors.joining(","));
    }
Provides an easy way to launch a Kafka cluster with multiple brokers.
examples/kafka-cluster/src/test/java/com/example/kafkacluster/KafkaContainerCluster.java