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

Dynamic loading of .so #73

Open
sherwoodzern opened this issue Dec 3, 2023 · 1 comment
Open

Dynamic loading of .so #73

sherwoodzern opened this issue Dec 3, 2023 · 1 comment

Comments

@sherwoodzern
Copy link

I watched your Kubecon presentation back in 2019. One area discussed was an enhancement request for the dynamic loading of the .so file. Has this been implemented?

I'm building an output plugin in Go and I would prefer not to have to build the fluent-bit container from scratch and add my Go plugin. Sooner or later the image is going to be huge.

If the dynamically loading the plugin has not been implemented, are there any gotchas when adding the plugin to the overall fluent-bit image? Do you have any samples of building the original image and adding the Go plugin?

@edsiper
Copy link
Member

edsiper commented Dec 3, 2023

if you build the plugin in Go the expectation is that you generate a final .so that can be loaded on runtime, examples here:

https://github.com/fluent/fluent-bit-go

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

No branches or pull requests

2 participants