Class OffsetCheckpointReadOnly

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

public class OffsetCheckpointReadOnly extends OffsetCheckpoint
This class read a map of topic/partition=>offsets from 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.
  • Constructor Details

  • Method Details