We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/fluent/fluent-bit-go/blob/master/examples/out_multiinstance/out.go#L45
I have a question about what scenario will fail to execute output.GetRecord(dec) ? 😁 Or, how do I print a decode failure log.
output.GetRecord(dec)
I want to know why it failed. 😁
//export FLBPluginFlushCtx func FLBPluginFlushCtx(ctx, data unsafe.Pointer, length C.int, tag *C.char) int { dec := output.NewDecoder(data, int(length)) count := 0 for { ret, ts, record := output.GetRecord(dec) if ret != 0 { break } ... }
thank u.
The text was updated successfully, but these errors were encountered:
Please read the source code.
fluent-bit-go/output/decoder.go
Line 71 in a7a013e
Sorry, something went wrong.
Most of the time, I just ignore it ?
Please read the source code. fluent-bit-go/output/decoder.go Line 71 in a7a013e func GetRecord(dec *FLBDecoder) (ret int, ts interface{}, rec map[interface{}]interface{}) {
No branches or pull requests
summary
https://github.com/fluent/fluent-bit-go/blob/master/examples/out_multiinstance/out.go#L45
I have a question about what scenario will fail to execute
output.GetRecord(dec)
? 😁 Or, how do I print a decode failure log.I want to know why it failed. 😁
thank u.
The text was updated successfully, but these errors were encountered: