Tsz-wo Sze created RATIS-2724:
---------------------------------

             Summary: Support non-ByteString Message
                 Key: RATIS-2724
                 URL: https://issues.apache.org/jira/browse/RATIS-2724
             Project: Ratis
          Issue Type: Improvement
          Components: client, server
            Reporter: Tsz-wo Sze
            Assignee: Tsz-wo Sze


{code}
//Message.java
  ByteString getContent();
{code}
The Message interface has only the above method to get the data.  So, it forces 
the implementations to serialize the data into a ByteString.

In this JIRA, we add an optional support to ByteBuffer.  When the 
implementation supports ByteBuffer, the Ratis code should never invoke the 
getContent() method.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to