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<T>|`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 `None`
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:
"multiTopicsReader-" + 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:
[email protected]