TsgcWSPClient_Kafka › Methods › CommitOffset
Commits a specific offset for a topic/partition in the consumer group.
procedure CommitOffset(const aTopic: string; aPartition: Integer; aOffset: Int64);
Commits an explicit offset for a single topic and partition in the current consumer group. Use this method when you manage offsets manually and want full control over the position from which the group resumes, rather than committing the last consumed offsets with CommitSync. The committed value is the offset of the next record to read.
oKafka.CommitOffset('my-topic', 0, 42);