-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Introduce New Plugin Classes #866
Conversation
bcfc08d
to
3ac2264
Compare
56f70aa
to
cd4220b
Compare
I've almost done for:
I've not done yet for:
|
|
|
@sonots Please give me another options for |
What about |
I added a commit to solve |
I cannot understand the difference between |
I was not sure what you wanted to express with the word "Feature" because there was no explanation of it, but just "Base" looks fine for me :-) |
e30b592
to
c142e7e
Compare
@@ -89,6 +95,9 @@ def merge(other) # self is base class, other is subclass | |||
if overwrite?(other, :alias) | |||
raise ConfigError, "BUG: subclass cannot overwrite base class's config_section: alias" | |||
end | |||
if overwrite?(other, :configured_in_section) | |||
raise ConfigError, "BUG: subclass cannot overwrite base class's config_section: configured_in" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
configured_in_section
instead of configured_in
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. This message is for authors of plugins, and plugins use configured_in
method to specify this value.
Could you write a rough image of buffer structure like this? http://docs.fluentd.org/images/buffer-internal-and-parameters.png |
@repeatedly for documentation? If so, I'll do it in later step. |
@tagomoris Mainly for documentation and good for reviwing your code. |
b615cdd
to
eeb9e5c
Compare
eeb9e5c
to
2c825e8
Compare
b38f06a
to
3a98938
Compare
2518dee
to
fe56d93
Compare
I'll merge this branch after CI green confirmation. |
Travis CI reports green. But AppVeyor complains about dozens of errors and failures. |
Just a question, are we going to publish with names such as |
They will be changed to |
…ecially on Windows)
I confirmed that CIs are now green. |
Merged! |
New base classes for v0.14 new plugin APIs.
These are introduced to make these new features enabled: