-
Notifications
You must be signed in to change notification settings - Fork 30
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
Problem encoding message when using encodeMessageByTopicName(). #39
Comments
i have same error |
I look forward to merge this without sleeping :) |
just for visibility: I've opened #42 , I am checking at the moment to make sure nothing it works as expected. It'll fix this issue + make future changes more simple |
should be fixed in 2.1.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm trying to encode message with avro schema using encodeMessageByTopicName() of this library.
But, when I produce a message to same topic from the second time, it gives me a following error.
(only if trying it only one time or this trying is the first time of several attempts, it doesn't give me a error.)
So, I tried to debug your code and found a code that look like a little bit wrong.
In line 60 of
encode-function.js
, return just a returned value of cache.getById(), that is parsedSchema, not a Promise in spite of received 'then' in line 70.So, there is a way to solve this problem?
The text was updated successfully, but these errors were encountered: