Class EmbeddedEngine.SourceRecordOffsets

  • All Implemented Interfaces:
    io.debezium.engine.DebeziumEngine.Offsets
    Enclosing class:
    EmbeddedEngine

    protected class EmbeddedEngine.SourceRecordOffsets
    extends Object
    implements io.debezium.engine.DebeziumEngine.Offsets
    Implementation of DebeziumEngine.Offsets which can be used to construct a SourceRecord with its offsets.
    • Constructor Detail

      • SourceRecordOffsets

        protected SourceRecordOffsets()
    • Method Detail

      • set

        public void set​(String key,
                        Object value)
        Performs HashMap.put(Object, Object) on the offsets map.
        Specified by:
        set in interface io.debezium.engine.DebeziumEngine.Offsets
        Parameters:
        key - key with which to put the value
        value - value to be put with the key
      • getOffsets

        protected HashMap<String,​Object> getOffsets()
        Retrieves the offsets map.
        Returns:
        HashMap of the offsets