Skip to content

Improve schema implementation to deal with ByteBuf #4788

@sijie

Description

@sijie

Is your feature request related to a problem? Please describe.

Currently all the schema implementations deal with byte[] only. It introduces a lot of object allocations and produces garbages, which is not friendly to Java language.

We should improve the schema interface to handle ByteBuf or ByteBuffer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementThe enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions