Class ExampleOffsetManagerEntry

java.lang.Object
io.aiven.commons.kafka.connector.source.impl.ExampleOffsetManagerEntry
All Implemented Interfaces:
OffsetManager.OffsetManagerEntry, Comparable<ExampleOffsetManagerEntry>

public class ExampleOffsetManagerEntry extends Object implements OffsetManager.OffsetManagerEntry, Comparable<ExampleOffsetManagerEntry>
An implementation of OffsetManagerEntry. This entry has 3 values stored in the map.

The OffsetManagerEntry must contain a representation of the NativeKey (the K in type in NativeSourceData<K,N,O,T>) The record count must be included but may be set to 1 for all cases where the native source may only return a single Kafka record. All other items are optional.