Interface UpdatableConsumerResumeStrategy<K,​V,​T extends Resumable<K,​V>>

  • Type Parameters:
    K - the type of the key, name or object that can be addressed by the given offset
    T - the type of the addressable value for the resumable object (for example, a file would use a Long value)
    T - a resumable type capable of handling/storing/holding resumable information for the addressable and offset

    public interface UpdatableConsumerResumeStrategy<K,​V,​T extends Resumable<K,​V>>
    An updatable resume strategy
    • Method Detail

      • updateLastOffset

        void updateLastOffset​(T offset)
                       throws Exception
        Updates the last processed offset
        Parameters:
        offset - the offset to update
        Throws:
        Exception - if unable to update the offset