momo-jun commented on code in PR #516:
URL: https://github.com/apache/pulsar-site/pull/516#discussion_r1165355792
##########
docs/client-libraries-java-use.md:
##########
@@ -79,7 +79,7 @@ while (true) {
}
```
-If you don't want to block your main thread and rather listen constantly for
new messages, consider using a `MessageListener`.
+If you don't want to block your main thread and rather listen constantly for
new messages, consider using a `MessageListener`. The `MessageListener` will
use a thread pool inside the PulsarClient. You can set the number of threads to
use for message listeners in the ClientBuilder.
Review Comment:
```suggestion
If you don't want to block your main thread but constantly listen for new
messages, consider using a `MessageListener`. The `MessageListener` uses a
thread pool inside the client. You can set the number of threads for message
listeners in the ClientBuilder.
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]