Skip to content

Commit 542a7bb

Browse files
committed
checkstyle
1 parent a77dc81 commit 542a7bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pulsar-client/src/main/java/org/apache/pulsar/client/impl/ProducerImpl.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,9 @@ public ProducerImpl(PulsarClientImpl client, String topic, ProducerConfiguration
201201
this.userProvidedProducerName = StringUtils.isNotBlank(producerName);
202202
this.partitionIndex = partitionIndex;
203203
this.pendingMessages = createPendingMessagesQueue();
204-
// Replication needs to be paused when a message can not be replicated due to failed schema registration. Otherwise,
205-
// it may cause an out-of-order issue, and it may lead to a messages lost issue if users enabled deduplication
206-
// on the remote side.
204+
// Replication needs to be paused when a message can not be replicated due to failed schema registration.
205+
// Otherwise, it may cause an out-of-order issue, and it may lead to a messages lost issue if users enabled
206+
// deduplication on the remote side.
207207
this.pauseSendingToPreservePublishOrderOnSchemaRegFailure = conf.isReplProducer();
208208
if (conf.getMaxPendingMessages() > 0) {
209209
this.semaphore = Optional.of(new Semaphore(conf.getMaxPendingMessages(), true));

0 commit comments

Comments
 (0)