EncoderService which returns a given EncoderType can be provided via the OSGi service registry or java.util.ServiceLoader (see EncoderService )
Get an encoder using java.util.ServiceLoader
The type of Encoder we support
Has an empty flush implementation. This is because Kryo keeps calling flush all the time, which stops the Snappy stream from building up big chunks to compress and instead keeps compressing small chunks giving terrible compression ratio.