You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/07/31 23:51:46 UTC
[GitHub] [pulsar] merlimat commented on a change in pull request #7705: [pulsar-client] Remove UUID generation on sending message
merlimat commented on a change in pull request #7705:
URL: https://github.com/apache/pulsar/pull/7705#discussion_r463890006
##########
File path: pulsar-client/src/main/java/org/apache/pulsar/client/impl/ProducerImpl.java
##########
@@ -103,7 +102,15 @@
private final BatchMessageContainerBase batchMessageContainer;
private CompletableFuture<MessageId> lastSendFuture = CompletableFuture.completedFuture(null);
- // Globally unique producer name
+ /**
+ * Globally unique producer name generated by server. It should be the same as {@link #producerName} unless user
+ * configures {@link ProducerConfigurationData::setProducerName}.
Review comment:
This will always be the same as `producerName`. If the client overrides it, the server will use that name, but if a producer with same name is already connected, it will instead error it out
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org