Skip to content
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

http_server sync_response without waiting ack #164

Open
webfrank opened this issue Jan 20, 2025 · 1 comment
Open

http_server sync_response without waiting ack #164

webfrank opened this issue Jan 20, 2025 · 1 comment
Labels
question Further information is requested

Comments

@webfrank
Copy link

Hi,
as per documentation benthos, even if I put a processor sync_response, waits for ack from output. I would like to achieve an early response (with sync_response), without waiting for output ack, like fire and forget, this way the client calling the http_server does not need to wait for output processing.

@mihaitodor
Copy link
Collaborator

Hey @webfrank 👋 I believe that should be possible if you add a buffer in the mix. Note that the sync_response processor will have to be attached to the input so it gets executed before the messages reach the buffer. The downside is that a simple buffer such as in-memory will no longer have the same delivery guarantees (if the process dies, then the messages that are still in the buffer will be lost).

@mihaitodor mihaitodor added the question Further information is requested label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants