diff --git a/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerBuilderImpl.java b/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerBuilderImpl.java index b9622642f0121..7853de552970e 100644 --- a/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerBuilderImpl.java +++ b/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerBuilderImpl.java @@ -61,7 +61,7 @@ public class ConsumerBuilderImpl implements ConsumerBuilder { private static long MIN_ACK_TIMEOUT_MILLIS = 1000; - ConsumerBuilderImpl(PulsarClientImpl client, Schema schema) { + public ConsumerBuilderImpl(PulsarClientImpl client, Schema schema) { this(client, new ConsumerConfigurationData(), schema); }