-
-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Suggestion: Kafka Consumer consume from timestamp #615
Comments
This is a great suggestion. Happy for you to pick this issue and suggest a solution if you're fine with this. |
I think we can add
We need not add the parameter to In addition, I think only one of 'seek' and 'seekToTimestamp' should be provided to avoid confusion. Maybe we can add an extra validation where only one of the two should be present in the There is also a TODO which mentions removing 'seek' from the Let me know your thoughts @authorjapps |
#619 This is a draft PR I have raised with what the changes might look like |
@a1shadows , I had a quick look at the PR. Its heading in right direction. Thanks you 🤝
Yes, that will great to get this fixed as it may not be useful or used at all.
Yes, a validation would be necessary. If you could provide that, that will be great. Sample error message: Please go ahead and implement in your current PR 🟢 |
@authorjapps I'll take up these changes. I had some doubts about how to write tests for the repo. Looks like we need to run kafka locally and create topics there. Is there some documentation around this? "mvn clean install" seems to be failing locally looking for missing topics |
Hello @a1shadows , BUILDING might help you run tests locally. Section -> "With tests executed(kafka)" might be what you're after.
Yes
No. |
This feature will be available in version Only pending bits for this ticket is:
|
Hi @authorjapps
I think it would be a great feature if we could configure the kafka consumer to consume from a specific timestamp. If we had this, we would not have to cover backlog on the kafka topic if there is significant gap between consecutive test runs.
If you think this is a feature worth pursuing, I would love to contribute to the feature. We can have something like:
This would make the consumer seek to this timestamp and start consumption from there.
The text was updated successfully, but these errors were encountered: