Checkpoints

When a subscriber opens a subscription stream, the subscriber can start consuming events from the earliest available point in the stream, or from some other location in the stream. To begin consuming from another location, the application must have run and saved at least one checkpoint (perhaps more). Checkpoints represent different locations in the stream. For example, your application could save a stream checkpoint after the publisher has streamed every 1024 records.

Your application can take a checkpoint at any time; however, only one checkpoint may be in progress at any given time. The most recent checkpoint is saved in a checkpoint table within the Oracle NoSQL Database store. If you want to save more than the most recent checkpoint, you must manually save it to disk or to a database of your choosing.

For an introduction to checkpoints, see Using Checkpoints. For information about NoSQLStreamMode, see Implementing Checkpoints in GSGStreamExample.