Skip to content

Add pluggable Serializer interface for better portability #51

@sfloess

Description

@sfloess

Proposal

Currently uses Java built-in ObjectOutputStream/ObjectInputStream. This has drawbacks:

  • Not portable across JVM versions
  • Security concerns with deserialization
  • Large binary size

Suggestion: Introduce a Serializer<T> interface with default Java implementation, and support for JSON (Jackson/Gson), Protobuf, etc. Make it configurable in Builder.

Benefits: Better archival, cross-language potential, smaller footprints.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions