It is possible to change the start offset for a new topic? I would like to create a new topic and start reading from the offset 10000. How?
Since kafka 0.9 offsets are stored in a topic. To change offset, use the seek() method:
public void seek(TopicPartition partition, long offset)
Overrides the fetch offsets that the consumer will use on the next
poll(timeout). If this API is invoked for the same partition more than once, the latest offset will be used on the next poll(). Note that you may lose data if this API is arbitrarily used in the middle of consumption, to reset the fetch offsets