Manually Committing an Offset
Commit offsets associated with the specified cursor in the Streaming service. An offset is the location of a message within a partition. Each message within the partition is identified by its offset. Consumers can read messages starting from any chosen offset. You can use the offset to restart reading from a stream if interrupted. Manually committing an offset extends the timeout on each of the affected partitions and returns an updated cursor.
Note
Consumer groups remove the need for manual commits of offsets. For information about how consumer groups use commits and offsets, see Offsets and Commits.
Consumer groups remove the need for manual commits of offsets. For information about how consumer groups use commits and offsets, see Offsets and Commits.
This task can't be performed using the Console. Use the oci streaming stream group commit command and required parameters to commit an offset:
oci streaming stream group commit --stream-id <stream_OCID> --cursor <cursor>
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the ConsumerCommit operation to commit an offset.