jerrypeng commented on issue #4237: Expose MessageId as part of Record interface
URL: https://github.com/apache/pulsar/pull/4237#issuecomment-491674477
 
 
   @srkukarni then lets get into agreement what we should do about this 
problem. I just don't want multiple ways to get the same information and 
cluttering the context API.  We do need a simpler way to expose all the 
attributes of a Message so that we don't have to keep adding these one-off APIs 
to retrieve them.  Today someone asks for MessageId, tomorrow someone might ask 
for getting the key of the message.  I think we either allow users to consume 
Message<T> as input or from the context API we can get the underlying message.  
I would be more in favor of the former, the one @sijie proposed

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