sijie commented on a change in pull request #5571: Add epoch for connection 
handler to handle create producer timeout.
URL: https://github.com/apache/pulsar/pull/5571#discussion_r342995958
 
 

 ##########
 File path: 
pulsar-client-api/src/main/java/org/apache/pulsar/client/api/Producer.java
 ##########
 @@ -38,6 +38,11 @@
      */
     String getProducerName();
 
+    /**
+     * @return the name of producer is generated or user specified
+     */
+    boolean isGeneratedName();
 
 Review comment:
   do we need to expose this to producer api? I think this is an implementation 
detail, which should be hidden in the implementation. 

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to