Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.17.0
-
None
-
Unknown
Description
In some corner cases we should be able to re-consume a Kafka stream from the beginning on startup of the endpoint.
For this the Kafka-KafkaConsumer has a method
public void seekToBeginning(TopicPartition... partitions) {
There are other methods to manipulate offsets but for this ticket we just look on the re-consume corner case.
Currently I have implemented this support in a branch here (https://github.com/sruehl/camel/tree/feature/kafka-seek-support) and have also written an jUnit test.
At this time this test still fails for unknown reasons.
I would be keen on some feedback on this feature and also would like to advance this branch to make it mergable.
Attachments
Attachments
Issue Links
- is related to
-
KAFKA-3458 Selector should throw InterruptException when interrupted
- Open