fetch_by_offset
Fetch Kafka messages from a topic starting at a specified offset, reading forward. Specify a partition to page deterministically through the topic.
Instructions
Fetch messages starting at an offset, reading forwards.
With partition_id=-1 the offset is applied to every partition, so pass an explicit partition to page deterministically through a topic.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | Kafka topic name. | |
| offset | Yes | Starting offset, inclusive. | |
| max_results | No | ||
| partition_id | No | Partition to read from, or -1 for all partitions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |