Skip to content
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

Custom offset producer #55

Closed
D4no0 opened this issue May 6, 2021 · 4 comments
Closed

Custom offset producer #55

D4no0 opened this issue May 6, 2021 · 4 comments

Comments

@D4no0
Copy link

D4no0 commented May 6, 2021

From documentation the only thing I could find about offset is:

:offset_reset_policy - Optional. Defines the offset to be used when there's no initial offset in Kafka or if the current offset has expired. Possible values are :earliest or :latest. Default is :latest.

Is there a possibility to specify a custom offset from where the producer can start?

@josevalim
Copy link
Member

As far as I know, not possible. I would check the docs for brod and if possible, a PR to support it here is welcome!

@D4no0
Copy link
Author

D4no0 commented May 6, 2021

It seems that the offset is set here, I will try to inject a custom value here and see if it works.

@raphaklaus
Copy link

@D4no0 have you discovered something?

@D4no0
Copy link
Author

D4no0 commented Jun 8, 2021

Sadly, I gave up on using kafka, operational complexity is too high and the promises of the system are a little bit shady.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants