Class OffsetCheckpoint

java.lang.Object
io.confluent.kafka.schemaregistry.storage.OffsetCheckpoint
All Implemented Interfaces:
Closeable, AutoCloseable
Direct Known Subclasses:
OffsetCheckpointReadOnly

public class OffsetCheckpoint extends Object implements Closeable
This class saves out a map of topic/partition=>offsets to a file. The format of the file is UTF-8 text containing the following:
   <version>
   <n>
   <topic_name_1> <partition_1> <offset_1>
   .
   .
   .
   <topic_name_n> <partition_n> <offset_n>
 
The first line contains a number designating the format version (currently 0), the get line contains a number giving the total number of offsets. Each successive line gives a topic/partition/offset triple separated by spaces.