File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
modules/kafka/src/main/java/org/testcontainers/kafka Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -87,8 +87,8 @@ protected void containerIsStarting(InspectContainerResponse containerInfo) {
8787 * <p>
8888 * Default advertised listeners:
8989 * <ul>
90- * <li>{@code container.getConfig().getHostName(): 9092}</li>
91- * <li>{@code container.getHost():container.getMappedPort(9093) }</li>
90+ * <li>{@code container.getHost():container.getMappedPort( 9092) }</li>
91+ * <li>{@code containerInfo.getConfig().getHostName():9093 }</li>
9292 * </ul>
9393 * @param listener a listener with format {@code host:port}
9494 * @return this {@link ConfluentKafkaContainer} instance
@@ -118,8 +118,8 @@ public ConfluentKafkaContainer withListener(String listener) {
118118 * <p>
119119 * Default advertised listeners:
120120 * <ul>
121- * <li>{@code container.getConfig().getHostName(): 9092}</li>
122- * <li>{@code container.getHost():container.getMappedPort(9093) }</li>
121+ * <li>{@code container.getHost():container.getMappedPort( 9092) }</li>
122+ * <li>{@code containerInfo.getConfig().getHostName():9093 }</li>
123123 * </ul>
124124 * @param listener a supplier that will provide a listener
125125 * @param advertisedListener a supplier that will provide a listener
You can’t perform that action at this time.
0 commit comments