You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the toy config below, I would've expected to get an immediate response back from a curl request to the source endpoint. This is since in has one sink, where I've explicitly disabled ack's. And even though it's enabled globally, per the documentation:
Enabling or disabling acknowledgements at the sink level takes precedence over any global acknowledgements configuration.
However, I do see that my request hangs for 10s and only responds once the batch timeout hits and vector attempts to send out from the sink*. Similarly, if I flip it so globally ack's are off and the per-sink ack is on, I get an instant response when I would expect it to wait until vector attempts a send. This is on vector v0.45, is this expected behavior?
Thanks!
*Note: The sink send will fail with the config on its own as there's no downstream receiver, but I don't think that changes the specific behavior I'm investigating
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I had recently raised a discussion involving acknowledgements. While I was tinkering around with ack's around that question, I noticed some odd behavior
With the toy config below, I would've expected to get an immediate response back from a
curl
request to the source endpoint. This is sincein
has one sink, where I've explicitly disabled ack's. And even though it's enabled globally, per the documentation:Enabling or disabling acknowledgements at the sink level takes precedence over any global acknowledgements configuration.
However, I do see that my request hangs for 10s and only responds once the batch timeout hits and vector attempts to send out from the sink*. Similarly, if I flip it so globally ack's are off and the per-sink ack is on, I get an instant response when I would expect it to wait until vector attempts a send. This is on vector
v0.45
, is this expected behavior?Thanks!
*Note: The sink send will fail with the config on its own as there's no downstream receiver, but I don't think that changes the specific behavior I'm investigating
I'm hitting the source endpoint with
curl 0.0.0.0:80 -X POST -d '{}'
Beta Was this translation helpful? Give feedback.
All reactions