-
Notifications
You must be signed in to change notification settings - Fork 1.7k
output: add multiplex option for output plugin #3254
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
base: master
Are you sure you want to change the base?
Conversation
config: the http port is inaccessible, so will always retry to limit.
logs: all chunks are keep in order
|
Add "multiplex" opetion for output plugin. When set this option off, all log lines will keep original order. By default, will respect output plugin flags. Signed-off-by: Binyang Li <[email protected]>
@edsiper @koleini @fujimotos Please help to review. |
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
pr is still relevant |
@edsiper any chance to get this merge ? |
I'm interested in this if it solves issues with out-of-order failures for Loki as well |
@Binyang2014 Does this PR alone fix the tail -> loki "message out of order" issues? |
Hi @MikaelElkiaer, this doesn't fix the tail issue, it just for output plugin. For Loki, multiplex should ready be disabled by default fluent-bit/plugins/out_loki/loki.c Line 1373 in bcce842
So it just solve output retry (due to network issues), and doesn't solve the input retry. I didn't notice there is out of order issue for tail plugin, but if there is such issue, we may need another solution. |
Not an issue with tail as such, but AFAIK there's no method of handling logs that already are out of order, in the case of services that do async logging. |
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
Add keep order option for output plugin.
This option will help user send logs to the storage server which can not sort log lines according to timestamp.
Such as AzureBlob/S3.
Issue: #1746
Enter
[N/A]
in the box, if an item is not applicable to your change.Testing
Before we can approve your change; please submit the following in a comment:
Documentation
Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.