I added a DelimiterBasedFrameDecoder at the beginning of the pipeline :
pipeline.addLast("framer", new DelimiterBasedFrameDecoder(Integer.MAX_VALUE, Unpooled.wrappedBuffer(new byte[]{'E', 'O', 'F', '\n'})));
Because I discovered that all json were terminated with "EOF\n" (due to legacy issues)
That's ok for me now, but what will happen when this legacy issue is resolved?