bpattarkine commented on PR #1506:
URL: https://github.com/apache/flink-agents/pull/1506#issuecomment-7385873928

   > > Thanks for exploring this and adding the recovery tests. I don’t think 
we should introduce a second serialization mode just to support 
`generic-types=false`. Replacing Kryo with Java serialization has no 
demonstrated performance benefit here, while adding separate state formats, 
copy and recovery paths, and restrictions on application values and durable 
execution.
   > > I’d prefer to continue with the focused improvements in #1503, #1504, 
and the revised #1505, where explicit serializers benefit the normal execution 
path. For this broader change, I don’t think the current benefits justify the 
ongoing maintenance cost.
   > 
   > One possible direction is to use dedicated serializers for framework-owned 
structures, while delegating dynamic payloads to serializers derived from 
declared or registered types, with Kryo as a fallback where needed.
   > 
   > I haven’t explored the feasibility in detail yet, particularly around 
dynamic payloads and custom Event subclasses, so this is a direction worth 
investigating rather than a concrete proposal.
   
   makes sense i have repurposed the 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