Class RunLengthEncoder

java.lang.Object
io.confluent.parallelconsumer.offsets.OffsetEncoder
io.confluent.parallelconsumer.offsets.RunLengthEncoder

public class RunLengthEncoder
extends OffsetEncoder
RunLength encoder that leverages the nature of this system.

One such nature is that gaps between completed offsets get encoded as succeeded offsets. This doesn't matter because they don't exist and we'll neve see them (they no longer exist in the source partition).