wenjin272 opened a new issue, #424:
URL: https://github.com/apache/flink-agents/issues/424

   ### Search before asking
   
   - [x] I searched in the 
[issues](https://github.com/apache/flink-agents/issues) and found nothing 
similar.
   
   ### Description
   
   Currently, if user want to send/receive custom events, they must define a 
new event type, like
   ```
   class MyEvent(Event):
       """User custom event."""
       field1: str
       field2: int
   ```
   This can be somewhat cumbersome at times. 
   
   To simplify the definition of Agent, we want to support user only declare 
the identifier, like:
   `ctx.send_event(identifier="MyEvent", field1="test", field2=1)`
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


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