-
-
Notifications
You must be signed in to change notification settings - Fork 8
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example for fastify-kafka #885
Comments
Could you add a Minimal, Reproducible Example? Without it, we are unable to help you. Otherwise, you may take a look in the test folder: |
HI @Eomm same issue here. @fastify/kafka verion: 2.2.1
Please note that neither @vincentbitter did you manage to find a working configuration in the meanwhile? |
I was able to get an example running at that moment in time. It was in a project created with NX and running on TypeScript, so I had to create a new example for this purpose. @Eomm Reproduction now resulted in a different error: https://github.com/vincentbitter/fastify-kafka-issue @enzolupia Please check the pull requests at my repo: https://github.com/vincentbitter/fastify-kafka-issue/pulls |
馃挰 Question here
I tried to setup fastify-kafka, but the documentation seems outdated. Finally I managed to produce messages, but consuming those is a big mystery. In the documentation (README) it shows the following example code:
However, the
on
methos is not available on thekafka
object. It is on the return object ofsubscribe()
, but that one only allows me to use things like'data'
and not'updates'
. I am using Typescript by the way.Does anyone have a good example of how to implement fastify-kafka with the plugins and routes folders?
Your Environment
The text was updated successfully, but these errors were encountered: