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

Fix backward compatibility with Fluent::DetachProcess and Fluent::DetachMultiProcess #1522

Merged
merged 2 commits into from
Apr 12, 2017

Conversation

okkez
Copy link
Contributor

@okkez okkez commented Mar 30, 2017

Some 3rd party plugins use these methods in their code:

class HTTPServer # w/o inheriting Fluent::Input, Fluent::Output
  include DetachMultiProcess

  def start
    detach_multi_process do
      # Do something to run HTTP server
    end
  end
end

See also:

Because some 3rd party plugins use these methods in their code:

```ruby
class HTTPServer # w/o inheriting Fluent::Input, Fluent::Output
  include DetachMultiProcess

  def start
    detach_multi_process do
      # Do something to run HTTP server
    end
  end
end
```
Because we can assume that 3rd party plugins that use `detach_process`
or `detach_multi_process` includes `Fluent::DetachProcessMixin` or
`Fluent::DetachMultiProcessMixin`.
@okkez okkez force-pushed the detach-process-backward-compatibility branch from a9ba4ad to f3983b3 Compare March 30, 2017 07:18
@okkez
Copy link
Contributor Author

okkez commented Apr 4, 2017

Failed CI but the failure seems not to be related to my changes.

@kou
Copy link
Contributor

kou commented Apr 4, 2017

@repeatedly Could you apply this change and release a new version?
Our plugin, fluent-plugin-groonga, doesn't work with the latest Fluentd...

(fluent-plugin-groonga still uses 0.12 API. It will migrate to 0.14 API later. The problem will be solved at the timing.)

@repeatedly repeatedly merged commit aec9189 into fluent:master Apr 12, 2017
@repeatedly
Copy link
Member

Sorryr for the late. Merged.

@okkez okkez deleted the detach-process-backward-compatibility branch February 21, 2018 00:35
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.

3 participants