momo-jun commented on code in PR #17235:
URL: https://github.com/apache/pulsar/pull/17235#discussion_r953574129


##########
site2/docs/client-libraries-java.md:
##########
@@ -596,9 +596,98 @@ Producer<byte[]> producer = client.newProducer()
 
 ```
 
-### Message routing
+### Publish to partitioned topics
 
-When using partitioned topics, you can specify the routing mode whenever you 
publish messages using a producer. For more information on specifying a routing 
mode using the Java client, see the [Partitioned Topics 
cookbook](cookbooks-partitioned.md).
+By default, Pulsar topics are served by a single broker, which limits the 
maximum throughput of a topic. *Partitioned topics* can span multiple brokers 
and thus allow for higher throughput.
+
+You can publish to partitioned topics using Pulsar client libraries. When 
publishing to partitioned topics, you must specify a routing mode. If you do 
not specify any routing mode when you create a new producer, the round robin 
routing mode is used.

Review Comment:
   ```suggestion
   You can publish messages to partitioned topics using Pulsar client 
libraries. When publishing messages to partitioned topics, you must specify a 
routing mode. If you do not specify any routing mode when you create a new 
producer, the round-robin routing mode is used.
   ```
   I think an object is required here and in the heading to indicate where the 
action will behave.



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

Reply via email to