RuedigerMoeller / fast-serialization

FST: fast java serialization drop in-replacement
Apache License 2.0
1.59k stars 245 forks source link

FST deserialization fails after reading serialized POJO back from Redis #314

Open adityaarun opened 3 years ago

adityaarun commented 3 years ago

Hi,

I am using FST (version 2.57) to serialize POJOs and write them to Redis (version 6.2.2). Both the readers and writers are using JRE 11 (adoptopenjdk/openjdk11:jre-11.0.9.1_1-alpine) running in Docker containers, same versions of FST library and DTOs in both.

When the reader tries to read the data written by the writers, it is getting Failed to read object exception.

I checked in Redis, the data looks to be proper.

Can you please help.