XiaoZYang commented on a change in pull request #1219: Issue 1069: Provide a 
setting in consumer configuration to specify where to start consuming messages 
URL: https://github.com/apache/incubator-pulsar/pull/1219#discussion_r169108145
 
 

 ##########
 File path: pulsar-common/src/main/proto/PulsarApi.proto
 ##########
 @@ -193,6 +193,9 @@ message CommandSubscribe {
     repeated KeyValue metadata = 10;
 
     optional bool read_compacted = 11;
+       // Signal wthether the subscription will initialize on latest
+       // or not -- earliest
+       optional bool initialize_on_latest = 12 [default = true];
 
 Review comment:
   As far as I know about pulsar, the nonpersistent topic subscription 
(NonpersistentTopicSubscription) use the `start_message_id` field when 
subscribing. And the persistent topic has no business with it. Therefore, I 
didn't use that. Do I misunderstand it?
   
   PS. I hope that I don't use nonproper expressions and offend you since I'm 
not a native English speaker.

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


With regards,
Apache Git Services

Reply via email to