@Deprecated
    public RedpandaContainer withListener(Supplier<String> listenerSupplier) {
        String[] parts = listenerSupplier.get().split(":");
        this.listenersValueSupplier.add(() -> new Listener(parts[0], Integer.parseInt(parts[1])));
        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 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(9092)}</li>
     <li>127.0.0.1:9093</li>
</ul>
@param listenerSupplier a supplier that will provide a listener
@return this {@link RedpandaContainer} instance
@deprecated use {@link #withListener(String, Supplier)} instead
modules/redpanda/src/main/java/org/testcontainers/redpanda/RedpandaContainer.java