setOffset

Description

public function setOffset(int $offset): TopicPartition {}

Set offset of topic partition

Example

$topicPartition = new SimpleKafkaClient\TopicPartiton('test-topic', 0);
$topicPartition->setOffset(100);