codenohup commented on PR #45:
URL: https://github.com/apache/flink-agents/pull/45#issuecomment-3015134889

   I'm currently working on implementing a few Flink operators based on this PR 
to handle workflow processing #26 , but I encountered a non-serializable 
exception with _WorkflowPlan_. 
   <img width="1605" alt="image" 
src="https://github.com/user-attachments/assets/c747d395-5d5a-4311-a197-1565eb089bc3";
 />
   
   I resolved this by:
   1. Making _WorkflowPlan_ implement the _Serializable_ interface.
   2. Overriding the _writeObject_ and _readObject_ methods using 
_WorkflowPlanJsonSerializer_ and _WorkflowPlanJsonDeserializer_.
   
   You might want to consider incorporating this fix into this PR as well 😊


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