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 2021/03/25 06:48:40 UTC

[GitHub] [pulsar] 315157973 commented on a change in pull request #10027: [doc] Add setter for reader subscription name

315157973 commented on a change in pull request #10027:
URL: https://github.com/apache/pulsar/pull/10027#discussion_r601109881



##########
File path: site2/docs/client-libraries-java.md
##########
@@ -675,6 +676,7 @@ String|`topicName`|Topic name. |None
 int|`receiverQueueSize`|Size of a consumer's receiver queue.<br/><br/>For example, the number of messages that can be accumulated by a consumer before an application calls `Receive`.<br/><br/>A value higher than the default value increases consumer throughput, though at the expense of more memory utilization.|1000
 ReaderListener&lt;T&gt;|`readerListener`|A listener that is called for message received.|None
 String|`readerName`|Read name.|null
+String| `subscriptionName`|Subscription name|None

Review comment:
       The default value is not 0
   When there is a single topic, the default subscription name is: "reader-" + 10-digit UUID
   When there are multiple topics, the default subscription name is: "The default subscription name is: "reader-" + 10-digit UUID-" + 10-digit UUID




-- 
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