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 <worker N-M> syntax #2289

Closed
repeatedly opened this issue Feb 8, 2019 · 0 comments
Closed

Support <worker N-M> syntax #2289

repeatedly opened this issue Feb 8, 2019 · 0 comments
Labels
feature request *Deprecated Label* Use enhancement label in general v1

Comments

@repeatedly
Copy link
Member

This feature improves multi process usage.
Currently, <worker> section takes only 1 number and it can't define multiple input plugins to share port.
<worker N-M> resolves the problem like below.

<worker 0-4>
  <source>
    @type tcp
  </source>
  <match pattern>
    # ...
  </match>
</worker>

<worker 5-10>
  <source>
    @type forward
  </source>
  <match pattern>
    # ...
  </match>
</worker>

This patten is popular in large scale deployment so adding this syntax helps users.

@repeatedly repeatedly added feature request *Deprecated Label* Use enhancement label in general v1 labels Feb 8, 2019
repeatedly added a commit that referenced this issue Feb 25, 2019
Support multi workers assign syntax on `<worker>` section. Fix #2289
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request *Deprecated Label* Use enhancement label in general v1
Projects
None yet
Development

No branches or pull requests

1 participant