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_r343000732
 
 

 ##########
 File path: pulsar-common/src/main/proto/PulsarApi.proto
 ##########
 @@ -386,6 +386,13 @@ message CommandProducer {
     repeated KeyValue metadata    = 6;
 
     optional Schema schema = 7;
+
+    // If producer reconnect to broker, the epoch of this producer will +1
+    optional uint64 epoch = 8 [default = 0];
+
+    // Indicate the name of the producer is generated or not(user specified)
+    // Use default false here is in order to be forward compatible with the 
client
+    optional bool is_generated_name = 9 [default = false];
 
 Review comment:
   `is_generated_name` => `user_provided_producer_name` ?

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


With regards,
Apache Git Services

Reply via email to