Re: Problem about adding custom kryo serializer

2022-03-10 Thread Chesnay Schepler
Sounds correct to me; it's not a POJO so it is treated as a generic type, which go through Kryo. If you want to be doubly-sure that your serializer is in fact used, add a log statement to the read/write methods. On 09/03/2022 08:10, guoliubi...@foxmail.com wrote: Hi, I have an entity class

Problem about adding custom kryo serializer

2022-03-08 Thread guoliubin85
Hi, I have an entity class built by Google Flatbuf, to raise the performance, I have tried written a serializer class. public class TransactionSerializer extends Serializer { @Override public void write(Kryo kryo, Output output, Transaction transaction) { ByteBuffer byteB