-
Notifications
You must be signed in to change notification settings - Fork 103
[FLINK-38054] flink-connector-elasticsearch8 use correct ClassLoader in OperationSerializer #136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
[FLINK-38054] flink-connector-elasticsearch8 use correct ClassLoader in OperationSerializer #136
Conversation
…in OperationSerializer
|
Thanks for opening this pull request! Please check out our contributing guidelines. (https://flink.apache.org/contributing/how-to-contribute.html) |
|
Unfortunately this PR only fixes the class discovery error. However, the Operation itself still fails to deserialize due a NullPointerException from Jackson: I'm trying to look deeper, but I'm new to this serialization stuff, so any hints or guidance is appreciated. |
|
I added a custom serializer for |
Fixes FLINK-38054
I am not sure this is the best solution in this case, but it mitigates the original problem of Operation classes being invisible during deserialization.
The PR branch is opened from last main branch commit for version 3.1.0, so that it is compatible with Flink version 1.20.