- We can develop maintainable plugin using sophisticated new plugin API
- We can develop non-buffered/buffered/async output plugin in one file
- Users can switch non-buffered/buffered/async output plugin via configuration
- We can write well-encapsulated code by useful plugin helpers
- We can write maintainable test using real test drivers that we can use easily
- Built-in multi process support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) r | |
Starting program: /tmp/local/sbin/milter-manager --help | |
[Thread debugging using libthread_db enabled] | |
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". | |
[New Thread 0x7f662cc4b700 (LWP 10107)] | |
*** Error in `/tmp/local/sbin/milter-manager': realloc(): invalid old size: 0x000055555588acf0 *** | |
======= Backtrace: ========= | |
/lib/x86_64-linux-gnu/libc.so.6(+0x70bfb)[0x7f662b8d1bfb] | |
/lib/x86_64-linux-gnu/libc.so.6(+0x76fc6)[0x7f662b8d7fc6] | |
/lib/x86_64-linux-gnu/libc.so.6(+0x7a13c)[0x7f662b8db13c] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source "https://rubygems.org" | |
gem "gems" | |
gem "octokit" | |
gem "dotenv" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source "https://rubygems.org" | |
gem "maxmind_geoip2" | |
gem "maxminddb" | |
gem "hive_geoip2" | |
gem "geoip2_compat" | |
gem "geoip-c", require: "geoip" | |
gem "geoip2_c", require: "geoip2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deb https://sourceforge.net/projects/cutter/files/debian/ unstable main | |
deb-src https://sourceforge.net/projects/cutter/files/debian/ unstable main | |
Hit:1 http://deb.debian.org/debian sid InRelease | |
Ign:2 https://sourceforge.net/projects/cutter/files/debian unstable InRelease | |
Ign:3 https://sourceforge.net/projects/cutter/files/debian unstable Release | |
Ign:5 https://sourceforge.net/projects/cutter/files/debian unstable/main all Packages | |
Ign:5 https://sourceforge.net/projects/cutter/files/debian unstable/main all Packages | |
Ign:5 https://sourceforge.net/projects/cutter/files/debian unstable/main all Packages | |
Hit:4 https://sourceforge.net/projects/cutter/files/debian unstable/main Sources | |
Hit:6 https://sourceforge.net/projects/cutter/files/debian unstable/main amd64 Packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/twitter/streaming/client.rb b/lib/twitter/streaming/client.rb | |
index 4cdef8bd..47cd6cdd 100644 | |
--- a/lib/twitter/streaming/client.rb | |
+++ b/lib/twitter/streaming/client.rb | |
@@ -104,6 +104,10 @@ module Twitter | |
end | |
end | |
+ def close | |
+ @connection.close |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "benchmark" | |
require "fluent/plugin/filter_geoip" | |
require "fluent/test/driver/filter" | |
require "fluent/test" | |
conf_geoip = <<CONF | |
geoip_lookup_key host | |
backend_library geoip | |
<record> | |
city ${city["host"]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source "https://rubygems.org" | |
gem "maxmind_geoip2" | |
gem "maxminddb" | |
gem "hive_geoip2" | |
gem "geoip2_compat" | |
gem "geoip-c", require: "geoip" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[32m[Coveralls] Set up the SimpleCov formatter.[0m | |
[32m[Coveralls] Using SimpleCov's default settings.[0m | |
Loaded suite /home/kenji/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-11.1.2/lib/rake/rake_test_loader | |
Started | |
..............................................................E | |
=============================================================================== | |
Error: test_adds_logstash_timestamp_when_configured(ElasticsearchOutputDynamic): TypeError: no implicit conversion of nil into String | |
/home/kenji/Data/ruby/td-family/fluent-plugin-elasticsearch/lib/fluent/plugin/out_elasticsearch_dynamic.rb:130:in `eval' | |
/home/kenji/Data/ruby/td-family/fluent-plugin-elasticsearch/lib/fluent/plugin/out_elasticsearch_dynamic.rb:130:in `block in write' | |
/home/kenji/Data/ruby/td-family/fluentd/lib/fluent/event.rb:194:in `each' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[32m[Coveralls] Set up the SimpleCov formatter.[0m | |
[32m[Coveralls] Using SimpleCov's default settings.[0m | |
Loaded suite /home/kenji/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rake-11.1.2/lib/rake/rake_test_loader | |
Started | |
........................................E | |
=============================================================================== | |
Error: test_writes_to_logstash_index(ElasticsearchOutput): NoMethodError: undefined method `to_msgpack' for 2015-06-01 08:00:01 +0900:Time | |
/home/kenji/ruby/td-family/fluent-plugin-elasticsearch/lib/fluent/plugin/out_elasticsearch.rb:174:in `to_msgpack' | |
/home/kenji/ruby/td-family/fluent-plugin-elasticsearch/lib/fluent/plugin/out_elasticsearch.rb:174:in `format' | |
/home/kenji/ruby/td-family/fluentd/lib/fluent/mixin.rb:124:in `block in format_stream' |