public KafkaContainer withListener(Supplier<String> listenerSupplier) {
        getContainerDef().withListener(listenerSupplier);
        return this;
    }
Add a {@link Supplier} that will provide a listener with format {@code host:port}.
Host will be added as a network alias.
<p>
The listener will be added to the list of default listeners.
<p>
Default listeners:
<ul>
    <li>0.0.0.0:9092</li>
    <li>0.0.0.0:9093</li>
</ul>
<p>
Default advertised listeners:
<ul>
     <li>{@code container.getHost():container.getMappedPort(9093)}</li>
     <li>{@code container.getConfig().getHostName():9092}</li>
</ul>
@param listenerSupplier a supplier that will provide a listener
@return this {@link KafkaContainer} instance
modules/kafka/src/main/java/org/testcontainers/containers/KafkaContainer.java