Configuring the Hazelcast Serialization
For data to be sent over a network between cluster members and/or clients, it needs to be serialized into raw bytes. Hazelcast has many serialization options to choose from, depending on what you plan on doing with your data.
With the Hazelcast Platform Operator you can configure Hazelcast Serialization using the Hazelcast CR. To understand the Hazelcast Serialization, refer to Platform documentation.
You can find more detailed information on configuration of Serialization in API Reference page.
Configuring Custom Serialization
To register custom serializers, you need to define the list of serializers and types in the serializers
section. The following configuration will register two custom serializers.
Configuring Compact Serialization
To configure Compact serialization, you need to define the compactSerialization
section. The following configuration will register an explicit serializer com.example.FooSerializer
along with a zero-config serializer for com.example.Bar
class.