Interface ChangeFeedProcessorContext


@Beta(value=V4_51_0, warningText="Preview API - subject to change in non-backwards compatible way") public interface ChangeFeedProcessorContext
Encapsulates properties which are mapped to a batch of change feed documents processed when ChangeFeedProcessorBuilder.handleAllVersionsAndDeletesChanges(BiConsumer) lambda is invoked.

NOTE: This interface is not designed to be implemented by end users.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the lease token corresponding to the source of a batch of change feed documents.
  • Method Details

    • getLeaseToken

      @Beta(value=V4_51_0, warningText="Preview API - subject to change in non-backwards compatible way") String getLeaseToken()
      Gets the lease token corresponding to the source of a batch of change feed documents.
      Returns:
      the lease token