lhotari commented on PR #24842:
URL: https://github.com/apache/pulsar/pull/24842#issuecomment-3407339060

   When I was working on the experiment, 
https://github.com/lhotari/pulsar/commit/c5a4991, one idea that came into mind 
is that it would be possible to allow creating a view based on a Function that 
maps the message to some other object. This would allow using a custom object 
that takes whatever properties are needed from the message properties and there 
wouldn't be a need to keep a reference to the complete message instance.
   If someone would like to use a message based TableView, passing 
`java.util.function.Function.identity()` as the function would be a way to use 
the Message as the value.
   
   
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to