Igniters, I need your advice about the following problem: It is necessary to serialize an object (just convert an object to bytes array) for including it in joining node data (DiscoveryDataBag) *at node startup routine*.
The marshalling hangs If we use 'BinaryMarshaller' or 'OptimizedMarshaler' because class can't be registered in MarshallerContextImpl#registerClassName -> transport.proposeMapping on account of the request which can't be sent through discovery-spi at the moment. Also, 'JdkMarshaller' can't be used because it imposes limits on objects that should implement 'Serializable' interface. But this restriction is unacceptable for the case. As a workaround solution, an external library, like KRYO, can be used. What tools also available in the project to solve this problem? -- Best Regards, Vyacheslav D.