Class ProcessingState<T>

  • Type Parameters:
    T - type of the processing state

    public class ProcessingState<T>
    extends Object
    Checkpoint state associated with an offset. This object can be used to persist the processing state per topic-partition into a state store.
    • Constructor Detail

      • ProcessingState

        public ProcessingState​(T state,
                               long offset)
      • ProcessingState

        public ProcessingState()
    • Method Detail

      • getState

        public T getState()
      • getOffset

        public Long getOffset()
      • setState

        public void setState​(T state)
      • setOffset

        public void setOffset​(Long offset)