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
uninitialized constant WaterDrop::Contracts::MessageOptions (NameError) #552
Comments
What waterdrop version are you using? Can you create a small repro script? |
I did not manually install Waterdrop. It got installed with karafka. |
I would still want to fix it for Rails 5 and Karafka 1.3. Could you create an example repro repo? |
mark_as_consumed! method is not available in 1.2.12. Is there another method similar to this? |
I see you're satisfied with the answer. Closing :) |
It's bootsnap issue with ruby-2.5 and iseq compile cache enabled (at least it was in my case). |
Encountering the following error when trying to run the rails server.
uninitialized constant WaterDrop::Contracts::MessageOptions (NameError)
Note: Karafka server runs fine and messages are consumed successfully.
Karafka version: 1.3.0
Ruby version: 2.5.3
Ruby-kafka version: 0.7.10
Application client id: my_app
Backend: inline
Batch fetching: true
Batch consuming: false
Boot file: /home/*****/my_application/karafka.rb
Environment: development
Kafka seed brokers: ["kafka://localhost:9092"]
The text was updated successfully, but these errors were encountered: