merlimat commented on a change in pull request #1219: Xzy initialize 
subscription config
URL: https://github.com/apache/incubator-pulsar/pull/1219#discussion_r167656411
 
 

 ##########
 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:
   There is already `start_message_id` field, which is currently only used by 
the `Reader` implementation. We should use that (passing either 
`MessageId.earliest` or `MessageId.latest`) when subscribing.

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