Is it possible to have http_client run only once? #1862
Unanswered
tfendt-belong-gg
asked this question in
Q&A
Replies: 1 comment
-
|
Hey @tfendt-belong-gg, using the BTW, the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm writing a daily task that needs to call a single api endpoint process the results and shutdown. I tried using the http_client for an input but it continuously calls the endpoint. Is there a way to have it only call once?
I don't want to use a rate_limit as I plan on shutting down the server/container after it is complete. So I need benthos to pull from the api, process, and output to db.
The only way I found to do this was to have a dummy input:
This doesn't feel like the right solution...or is it?
Beta Was this translation helpful? Give feedback.
All reactions