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

Support fluentd new worker model #104

Closed
riywo opened this issue Feb 2, 2017 · 1 comment
Closed

Support fluentd new worker model #104

riywo opened this issue Feb 2, 2017 · 1 comment
Milestone

Comments

@riywo
Copy link
Contributor

riywo commented Feb 2, 2017

http://www.fluentd.org/blog/fluentd-v0.14.12-has-been-released

  • Plugin MUST be implemented with v0.14 API natively
    • Plugin class is a direct subclass of Fluent::Plugin::Input, Fluent::Plugin::Output, Fluent::Plugin::Filters, etc
  • Plugin MUST have #multi_workers_ready? method and return true
    • The default return value of this method is true in filter/buffer/parser/formatter/storage plugins
    • But it's false in input/output plugins
    • 3rd party plugins SHOULD re-implemnet #multi_workers_ready? to return true to support multi process workers
  • Plugin MUST NOT use raw sockets to listen network ports
    • It makes Errno::ADDRINUSE errors with multi process worker configurations
    • Use server plugin helper to create networks servers to listen network port via the supervisor process
@riywo riywo added this to the 2.0.0 milestone Feb 2, 2017
@riywo
Copy link
Contributor Author

riywo commented Mar 13, 2017

#112

@riywo riywo closed this as completed Mar 13, 2017
@riywo riywo mentioned this issue Mar 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant