merlimat opened a new pull request #2187:  Removed the `Context.ack(byte[] 
messageId)` and expose `Record` instead 
URL: https://github.com/apache/incubator-pulsar/pull/2187
 
 
   ### Motivation
   
   The `Context.ack(byte[] messageId)` is problematic when the function is 
consuming from multiple topics since we would have to keep track of the topic 
in the serialized message id. 
   
   Since this API is just used in windowing code, replacing this by exposing 
"current" record which can be acked directly.
   
   Note: this is based on #2184 -- Only review 
3bbc606408064e5f4c221da271747c9af6143fc9

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to