Joao Cordeiro
Joao Cordeiro
I am not seeing this behaviour. Refresh is only called if it expires. Ran a few tests too and only one token was requested across all writes I did.
After further digging and testing I noticed that (at least on my system) Write was being called with 64kb chunks of data each time, even if the application was trying...
tested it with a random json parser I found on github and it works fine. I bet the problem is in your json.hpp file (which you didn't attach). I'd look...
yeah you're using the library wrong. I'm even surprised it is compiling for you, so I'd suggest you look at your build process and see if something funky is going...
Unfortunately not and I wasn't even able to get closer to the route of the issue at all. My next idea was to try to replicate straight on librdkafka but...
@pushkal-ag does that mean that you too were able to reproduce this? @accelerated - yes I have. I get delivery acks on all events and no failure / error callbacks...
Unfortunately (?) I stopped being able to reproduce the issue. Same exact sample code, built in exactly the same way, has stopped missing events. Thought about closing the issue but...
@accelerated it could be something changed on the broker, the network or something else out of my control. Hard to say. I still have the same code on production though...