Anonymitaet commented on a change in pull request #9822:
URL: https://github.com/apache/pulsar/pull/9822#discussion_r589112579



##########
File path: pulsar-client-cpp/include/pulsar/ProducerConfiguration.h
##########
@@ -164,13 +204,52 @@ class PULSAR_PUBLIC ProducerConfiguration {
      */
     int getMaxPendingMessagesAcrossPartitions() const;
 
+    /**
+     * Set the message routing modes for partitioned topics.
+     *
+     * @param PartitionsRoutingMode partition routing mode.
+     * @return
+     */
     ProducerConfiguration& setPartitionsRoutingMode(const 
PartitionsRoutingMode& mode);
+
+    /**
+     * The getter associated with setPartitionsRoutingMode().
+     */
     PartitionsRoutingMode getPartitionsRoutingMode() const;
 
+    /**
+     * Set a custom message routing policy by passing an implementation of 
MessageRouter.
+     *
+     * @param messageRouter message router.
+     * @return
+     */
     ProducerConfiguration& setMessageRouter(const MessageRoutingPolicyPtr& 
router);
+
+    /**
+     * The getter associated with setMessageRouter().
+     */
     const MessageRoutingPolicyPtr& getMessageRouterPtr() const;
 
+    /** Set the hashing scheme, which is a standard hashing function available 
when choosing the partition to
+     * use for a particular message.

Review comment:
       @BewareMyPower thanks for your comments, I've incorporated them, PTAL.




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


Reply via email to