Skip to main content

Commit offsets

Record, for a consumer group, that one partition of a topic has been handled up to and including an offset, so the next read starts after it. Use it with Read messages and mark_as_read off to mark messages only once they are processed, or to skip ahead or go back. Run it while no other reader of the group is active. Needs a REST Proxy that supports consumer instances.

Command in the Kafka toolkit · id ooa.kafka/commit_offsets · 8 inputs (4 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
Endpoint addressStringNoKafka REST Proxy address, e.g. https://pkc-12345.us-east-1.aws.confluent.cloud:443 or http://kafka-rest.internal:8082.
Consumer groupStringYesReader group whose position is changed.
TopicStringYesTopic of the messages.
PartitionNumberYesPartition number, as shown in the partition column of Read messages.
OffsetNumberYesOffset of the last message handled in that partition; the group carries on with the message after it.
API keyStringNoAPI key or user name, used with api_secret.
API secretCredentialNoAPI secret or password from the vault.
Access tokenCredentialNoBearer token from the vault, used instead of an API key and secret.

Outputs​

OutputTypeWhat it is
next_offsetNumberOffset the group reads next in that partition (offset + 1).