-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
ACKs with fluent-bit #181
Comments
Thanks for reporting it. I'll try to reproduce this issue. |
I had a look at the code:
I am happy to put up a PR with those changes if you agree that we got an issue and with my solution proposal ;) |
@elruwen Your plan looks good! Thanks. Let me add a comment on the plan. This issue happens because fluent-bit expects ACK token called Also strictly speaking, in fluent-bit the source of |
fix-#181: Send the ack token as String
This issue is fixed by #182 |
Thanks for merging it, can we get a release? :) |
I'll release the fix in a few days. |
Released this change as 2.5.1. It'll be visible in a few hours on Maven Central. |
Awesome, thanks for the quick turn-around :) |
Hi!
I am trying to use fluency with ACKs and fluent-bit, but that doesn't work. I digged a bit around and it looks like fluency is encoding the chunk uuid as binary and not as a string.
It fails in this line: https://github.com/fluent/fluent-bit/blob/master/plugins/in_forward/fw_prot.c#L161 The type send to fluent-bit is binary, but if I understand the specs correctly, it should be string https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v1#entry. Currently the value we get is 0x08, which is binary: https://github.com/msgpack/msgpack-c/blob/c_master/include/msgpack/object.h#L41
Not sure if fluency is also supporting fluent-bit...
Relevant dependencies I use:
To reproduce, the following fluent-bit config is enough:
Code:
Cheers
Ruwen
The text was updated successfully, but these errors were encountered: