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 2017/12/23 19:56:30 UTC

[GitHub] cckellogg commented on a change in pull request #1009: Add optional key/value metadata to producers.

cckellogg commented on a change in pull request #1009: Add optional key/value metadata to producers.
URL: https://github.com/apache/incubator-pulsar/pull/1009#discussion_r158588262
 
 

 ##########
 File path: pulsar-client/src/main/java/org/apache/pulsar/client/api/ProducerConfiguration.java
 ##########
 @@ -423,6 +427,23 @@ public ProducerConfiguration setInitialSequenceId(long initialSequenceId) {
         return this;
     }
 
+    /**
+     * Set optional key/value metadata with this producer.
+     * @param key
+     * @param value
+     * @return
+     */
+    public ProducerConfiguration setMetadata(String key, String value) {
 
 Review comment:
   Updated the configuration interface to use property methods like the message builder

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services