wenjin272 commented on issue #476:
URL: https://github.com/apache/flink-agents/issues/476#issuecomment-4728468178

   Hi @JinkunLiu, sorry for the late reply — I've been tied up with the 0.3 
release lately. 
   
   I think for the receiver action your proposal is correct: extras are 
automatically resolved back from `MemoryRef` on receive. But for the sender 
action, I'm less sure. My earlier statement that 'users can be completely 
unaware of the existence of MemoryRef' wasn't quite accurate — what I actually 
meant was that the receiver doesn't need to be aware of `MemoryRef`. 
   
   For the sender side, I think we should still leave room for users to choose: 
whether to offload extras to `SensoryMemory`, or store them directly in the 
`Event`. Offloading to SensoryMemory comes at the cost of binary serialization 
into state, and for non-primitive types there may be risks (#723).


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