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

Implement golang input plugin interface #1

Merged
merged 8 commits into from
Mar 17, 2022

Conversation

cosmo0920
Copy link
Contributor

This PR should be working with fluent/fluent-bit#5056.

It seems that
golang/go#41705 (comment) is
useful comment for using unsafe.Pointer correctly.

Signed-off-by: Hiroshi Hatake <[email protected]>
Signed-off-by: Hiroshi Hatake <[email protected]>
allocated by C style (C.calloc)

Signed-off-by: Hiroshi Hatake <[email protected]>
This is because putting cleanup phase for C.style allocated heap memory
is not ensuring for deallocation them.

Signed-off-by: Hiroshi Hatake <[email protected]>
@cosmo0920 cosmo0920 requested a review from niedbalski March 17, 2022 08:36
@niedbalski niedbalski merged commit 90c8058 into master Mar 17, 2022
@niedbalski niedbalski deleted the implement-golang-input-plugin-interface branch March 17, 2022 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants