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

   I believe that adding a dedicated field in the Event to store fields 
offloaded to sensory memory would indeed be the most convenient approach for 
users.
   
   ```python
   # Sender
   ctx.send_event(Event(type="_my_event", attributes={"k1": "123"}, 
attachments={"k2", "456"}))
   # Receiver
   value1 = event.get_attr("k1") 
   value2 = event.get_attr("k2")
   ```
   
   I generally agree with this plan, but we should be aware of potential issues 
in the `Event` serialization pipeline after adding new fields.


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