yzeng1618 commented on issue #10408:
URL: https://github.com/apache/seatunnel/issues/10408#issuecomment-3810065355

   At present, analysis of the code reveals the following:
   
   1. The SelectDBSink in version 2.3.3 holds the configuration object 
[org.apache.seatunnel.shade.com](https://org.apache.seatunnel.shade.com/).typesafe.config.Config
 pluginConfig, which is typically an implementation class of typesafe-config at 
runtime. This class is inherently Serializable, so the Engine will not 
encounter exceptions when serializing SinkAction -> sink.
   
   2. The SelectDBSink in version 2.3.12 has been modified to parse the 
configuration into a custom POJO during initialization: private final 
SelectDBConfig dbConfig. However, SelectDBConfig does not implement the 
Serializable interface, resulting in a direct NotSerializableException: 
SelectDBConfig being thrown when Hazelcast performs Java serialization at this 
step.


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