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.