all-things-risingwave

Can Kafka data use the 'offset' function when creating a source?

I'm wondering if it's possible to use the 'offset' function when setting up a Kafka data source for consumption.

ji

jie

Asked on May 18, 2022

Yes, you can specify a starting offset to consume Kafka data. This allows you to control where in the Kafka topic to start consuming messages. Here's an example of how you can specify the starting offset in a Kafka source configuration:

kafka:
  topic: my_topic
  offset: earliest
May 18, 2022Edited by