fluent-plugin-clickhouse-output 0.0.2 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -1
- data/Rakefile +11 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/fluent-plugin-clickhouse-output.gemspec +2 -1
- data/lib/fluent/plugin/out_clickhouse.rb +2 -2
- metadata +18 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f772a8a2bfb855d327f4fe8e663fbaaadfc9226bf9e3618d4198192c230c5c3f
|
4
|
+
data.tar.gz: 1aed66f3d04b357f59549c62c5b0c6ac9752ad6f56a7c395dc648441adb91c18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e07bc57b438ade9a8ffa8460654e164980cae7143cf548d0ae703e5b667e1d369ab06e38e07f56b29dbec3edcfa57798eeb055b481ca0fc6beafd91990800b3d
|
7
|
+
data.tar.gz: 397a03a034a18cb9b2636799dd2bff43f186a7c42650ddd5b4785855f49c118022f32ee9976a1996519c71c31c7049795375a0a90991cc82d8ea001f807de557
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fluent-plugin-clickhouse-output (0.0.
|
4
|
+
fluent-plugin-clickhouse-output (0.0.4)
|
5
5
|
clickhouse (~> 0.1)
|
6
6
|
fluentd (~> 1.12)
|
7
7
|
|
@@ -64,6 +64,7 @@ GEM
|
|
64
64
|
mustermann (1.1.1)
|
65
65
|
ruby2_keywords (~> 0.0.1)
|
66
66
|
pond (0.5.0)
|
67
|
+
power_assert (2.0.0)
|
67
68
|
public_suffix (4.0.6)
|
68
69
|
rack (2.2.3)
|
69
70
|
rack-protection (2.1.0)
|
@@ -79,6 +80,8 @@ GEM
|
|
79
80
|
rack-protection (= 2.1.0)
|
80
81
|
tilt (~> 2.0)
|
81
82
|
strptime (0.2.5)
|
83
|
+
test-unit (3.4.2)
|
84
|
+
power_assert
|
82
85
|
thor (1.1.0)
|
83
86
|
tilt (2.0.10)
|
84
87
|
tzinfo (2.0.4)
|
@@ -97,6 +100,7 @@ DEPENDENCIES
|
|
97
100
|
bundler (~> 1.17)
|
98
101
|
fluent-plugin-clickhouse-output!
|
99
102
|
rake (~> 10.0)
|
103
|
+
test-unit
|
100
104
|
|
101
105
|
BUNDLED WITH
|
102
106
|
1.17.3
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "fluent/plugin/out_clickhouse"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = 'fluent-plugin-clickhouse-output'
|
8
|
-
spec.version = '0.0.
|
8
|
+
spec.version = '0.0.4'
|
9
9
|
spec.authors = ['Alex Malyi']
|
10
10
|
spec.email = ['am@pixelx.pro']
|
11
11
|
|
@@ -26,6 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
|
27
27
|
spec.add_development_dependency 'bundler', '~> 1.17'
|
28
28
|
spec.add_development_dependency 'rake', '~> 10.0'
|
29
|
+
spec.add_development_dependency "test-unit"
|
29
30
|
|
30
31
|
spec.add_runtime_dependency 'fluentd', '~> 1.12'
|
31
32
|
spec.add_runtime_dependency 'clickhouse', '~> 0.1'
|
@@ -2,13 +2,13 @@
|
|
2
2
|
|
3
3
|
module Fluent
|
4
4
|
class ClickHouseOutput < Fluent::BufferedOutput
|
5
|
-
Fluent::Plugin.register_output('clickhouse
|
5
|
+
Fluent::Plugin.register_output('clickhouse', self)
|
6
6
|
|
7
7
|
include Fluent::SetTimeKeyMixin
|
8
8
|
include Fluent::SetTagKeyMixin
|
9
9
|
|
10
10
|
config_param :host, :string, :default => 'localhost'
|
11
|
-
config_param :port, :string, :default =>
|
11
|
+
config_param :port, :string, :default => 8123
|
12
12
|
config_param :urls, :string, :default => nil
|
13
13
|
config_param :database, :string, :default => 'default'
|
14
14
|
config_param :username, :string, :default => 'default'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-clickhouse-output
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Malyi
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: test-unit
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: fluentd
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -78,6 +92,9 @@ files:
|
|
78
92
|
- Gemfile
|
79
93
|
- Gemfile.lock
|
80
94
|
- README.md
|
95
|
+
- Rakefile
|
96
|
+
- bin/console
|
97
|
+
- bin/setup
|
81
98
|
- fluent-plugin-clickhouse-output.gemspec
|
82
99
|
- lib/fluent/plugin/out_clickhouse.rb
|
83
100
|
homepage: https://github.com/amlivedn/fluentd-plugin-clickhouse-output
|