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

Enable format/inject plugin helper for Fluentd v0.14 #49

Merged
merged 3 commits into from
Jan 26, 2017

Conversation

tagomoris
Copy link
Member

@tagomoris tagomoris commented Jan 24, 2017

Fixes #48.

This change does:

  • remove config-placehodler and plaintextformatter mixins
  • enable format/inject plugin helper to control formatting in v0.14 standard way

This plugin will be ready for Fluentd v0.14 after merging this patch.

* remove config-placeholders / plaintextformatter mixins
* add features to support removed mixins:
  * enable hostname/uuid placeholders by itself (supported %{} style syntax is same with fluent-plugin-s3)
  * switch to use "out_file" formatter in default, almost compatible with default plaintextformatter configuration
  * make formatting timezone default in UTC
* make formatter/inject plugin helpers enabled to modify/format records in standard way
* add compat parameter converter for plaintextformatter for compatibility
@tagomoris
Copy link
Member Author

@repeatedly Could you review this code?

@@ -2,7 +2,7 @@

Gem::Specification.new do |gem|
gem.name = "fluent-plugin-webhdfs"
gem.version = "0.5.3"
gem.version = "0.6.0rc1"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you update code to work with only v0.14, upgrade major version.

http://docs.fluentd.org/articles/plugin-development#plugin-versioning-policy

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay.

@repeatedly
Copy link
Member

I don't know the plaintextformatter but others are good for me.

@tagomoris
Copy link
Member Author

Let me merge this, and then fix the version number to 1.0.0 and release it.

@tagomoris tagomoris merged commit 229f17c into master Jan 26, 2017
@tagomoris tagomoris deleted the update-for-v0.14 branch January 26, 2017 06:22
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.

None yet

2 participants