support for response code 202 in HTTP source plugin #7599
mp3monster
started this conversation in
Ideas
Replies: 2 comments
-
Do you mean discard at the input level (I'm not sure how it could without knowing the HTTP input source but presumably it could with buffers maxed or something?) or conceptually in that it never makes it out of the pipeline? I guess the issue is that discarding is downstream of the input and potentially you can have multiple filters/outputs either accepting or discarding so what do you do in that case if one pipeline allows it but the other discards it? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I was thinking if you log event pipeline looked like : HTTP Source --> filter --> xyz target plugin. The HTTP Source would be legitimate in having a 202 for the http_response_code attribute. Currently, 202 is not allowed. So the change being suggested would be allow the plugin configuration to return 202
…________________________________
From: Pat ***@***.***>
Sent: Friday, June 23, 2023 15:12
To: fluent/fluent-bit ***@***.***>
Cc: phil Wilkins ***@***.***>; Author ***@***.***>
Subject: Re: [fluent/fluent-bit] support for response code 202 in HTTP source plugin (Discussion #7599)
Do you mean discard at the input level (I'm not sure how it could without knowing the HTTP input source but presumably it could with buffers maxed or something?) or conceptually in that it never makes it out of the pipeline?
I guess the issue is that discarding is downstream of the input and potentially you can have multiple filters/outputs either accepting or discarding so what do you do in that case if one pipeline allows it but the other discards it?
—
Reply to this email directly, view it on GitHub<#7599 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADC27M57K4FHHOXCFP6ISCTXMWP5NANCNFSM6AAAAAAZRH3TPE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
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
-
If Fluent Bit was to accept and then possibly discard a log message received, would it not be correct to return a 202 response code?
https://datatracker.ietf.org/doc/html/rfc7231#section-6.3.3
Beta Was this translation helpful? Give feedback.
All reactions