fluent-plugin-druid-query 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: b7f48569a86b78098f0812de6faa379b9283be299ac6c47453ca350c8f0b0949
4
+ data.tar.gz: 0c29a75b0c0453af8e3d259abbdf67f1990da423040d4a842228dabd7116a62c
5
+ SHA512:
6
+ metadata.gz: 9e819e437a270b9f805eeb4eb9aa7f2abaec99af50d3d53eb2aa5860b713a742843416f1bf0f502c00a54c9b89f7cce97ab0297e7e2398419111276956c7687c
7
+ data.tar.gz: 3c42d62aafec87f21f220ddb8788cb7292708527cfe99a6e2ac1adbd4279af1b64020bf5df0541dfc914f8def892ff9936c895bb6b7f27da1e4240cf4b844593
data/.rubocop.yml ADDED
@@ -0,0 +1,39 @@
1
+ ---
2
+
3
+ plugins:
4
+ - rubocop-rake
5
+
6
+ AllCops:
7
+ TargetRubyVersion: 3.2
8
+ NewCops: enable
9
+ Exclude: []
10
+
11
+ Gemspec/DevelopmentDependencies:
12
+ EnforcedStyle: gemspec
13
+
14
+ Metrics/AbcSize:
15
+ Max: 20
16
+
17
+ Metrics/BlockLength:
18
+ Exclude:
19
+ - fluent-plugin-druid-query.gemspec
20
+ - test/**/*.rb
21
+
22
+ Metrics/ClassLength:
23
+ Exclude:
24
+ - lib/fluent/plugin/in_druid_query.rb
25
+ - test/**/*.rb
26
+
27
+ Metrics/MethodLength:
28
+ Max: 20
29
+
30
+ Metrics/ParameterLists:
31
+ Exclude:
32
+ - test/helper.rb
33
+
34
+ Naming/MethodParameterName:
35
+ Exclude:
36
+ - lib/fluent/plugin/in_druid_query.rb
37
+
38
+ Style/Documentation:
39
+ Enabled: false
data/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/README.md ADDED
@@ -0,0 +1,66 @@
1
+ # fluent-plugin-druid-query
2
+
3
+ [Fluentd](https://fluentd.org/) plugin to query druid.
4
+
5
+
6
+ ## Installation
7
+
8
+ ### RubyGems
9
+
10
+ ```
11
+ $ gem install fluent-plugin-druid-query
12
+ ```
13
+
14
+ ### Bundler
15
+
16
+ Add following line to your Gemfile:
17
+
18
+ ```ruby
19
+ gem "fluent-plugin-druid-query"
20
+ ```
21
+
22
+ And then execute:
23
+
24
+ ```
25
+ $ bundle
26
+ ```
27
+
28
+
29
+ ## plugin : druid_query
30
+
31
+ ### behavior
32
+
33
+ ### parameters
34
+
35
+ ### example
36
+
37
+ ```
38
+ <source>
39
+ @type druid_query
40
+
41
+ druid_url http://localhost:4567
42
+ druid_user user
43
+ druid_password password
44
+
45
+ interval 5
46
+
47
+ <query>
48
+ sql select name, age from test
49
+ subtag test
50
+ cache false
51
+ metadata id:query1
52
+ generate_record true
53
+ generate_info true
54
+ </query>
55
+ </source>
56
+
57
+ <match druid_query**>
58
+ @type stdout
59
+ </match>
60
+ ```
61
+
62
+ ## Copyright
63
+
64
+ * Copyright(c) 2025- Thomas Tych
65
+ * License
66
+ * Apache License, Version 2.0
data/Rakefile ADDED
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler'
4
+ Bundler::GemHelper.install_tasks
5
+
6
+ require 'rake/testtask'
7
+
8
+ Rake::TestTask.new(:test) do |t|
9
+ t.libs.push('lib', 'test')
10
+ t.test_files = FileList['test/**/test_*.rb', 'test/**/*_test.rb']
11
+ t.verbose = true
12
+ t.warning = true
13
+ end
14
+
15
+ require 'rubocop/rake_task'
16
+ RuboCop::RakeTask.new
17
+
18
+ require 'bump/tasks'
19
+
20
+ task default: %i[test rubocop]
@@ -0,0 +1,170 @@
1
+ # frozen_string_literal: true
2
+
3
+ #
4
+ # Copyright 2025- Thomas Tych
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+
18
+ require 'fluent/plugin/input'
19
+
20
+ require 'druid_client'
21
+
22
+ module Fluent
23
+ module Plugin
24
+ class DruidQueryInput < Fluent::Plugin::Input
25
+ NAME = 'druid_query'
26
+ Fluent::Plugin.register_input(NAME, self)
27
+
28
+ helpers :event_emitter, :timer
29
+
30
+ DEFAULT_TAG = NAME
31
+ DEFAULT_INTERVAL = 300
32
+
33
+ DEFAULT_DRUID_URL = 'http://localhost:8888'
34
+ DEFAULT_DRUID_USER = nil
35
+ DEFAULT_DRUID_PASSWORD = nil
36
+ DEFAULT_DRUID_VERIFY_SSL = true
37
+ DEFAULT_DRUID_USER_AGENT = NAME
38
+ DEFAULT_DRUID_TIMEOUT = 30
39
+
40
+ DEFAULT_CA_CERT = nil
41
+
42
+ DEFAULT_QUERY_CACHE = true
43
+ DEFAULT_QUERY_SUBTAG = nil
44
+ DEFAULT_QUERY_GENERATE_RECORD = true
45
+ DEFAULT_QUERY_GENERATE_INFO = false
46
+
47
+ desc 'tag to emit events on'
48
+ config_param :tag, :string, default: DEFAULT_TAG
49
+ desc 'info tag to emit info events on'
50
+ config_param :tag_info, :string, default: DEFAULT_TAG
51
+ desc 'interval for probe execution'
52
+ config_param :interval, :time, default: DEFAULT_INTERVAL
53
+
54
+ desc 'druid url'
55
+ config_param :druid_url, :string, default: DEFAULT_DRUID_URL
56
+ desc 'druid user'
57
+ config_param :druid_user, :string, default: DEFAULT_DRUID_USER
58
+ desc 'druid password'
59
+ config_param :druid_password, :string, default: DEFAULT_DRUID_PASSWORD
60
+ desc 'druid verify ssl'
61
+ config_param :druid_verify_ssl, :bool, default: DEFAULT_DRUID_VERIFY_SSL
62
+ desc 'druid user agent'
63
+ config_param :druid_user_agent, :string, default: DEFAULT_DRUID_USER_AGENT
64
+ desc 'druid connection timeout'
65
+ config_param :druid_timeout, :integer, default: DEFAULT_DRUID_TIMEOUT
66
+
67
+ desc 'ca_cert'
68
+ config_param :ca_cert, :string, default: DEFAULT_CA_CERT
69
+
70
+ config_section :query, param_name: :queries, multi: true do
71
+ config_param :sql, :string
72
+ config_param :cache, :bool, default: DEFAULT_QUERY_CACHE
73
+ config_param :subtag, :string, default: DEFAULT_QUERY_SUBTAG
74
+ config_param :metadata, :hash, value_type: :string, default: {}
75
+ config_param :generate_record, :bool, default: DEFAULT_QUERY_GENERATE_RECORD
76
+ config_param :generate_info, :bool, default: DEFAULT_QUERY_GENERATE_INFO
77
+ end
78
+
79
+ def configure(conf)
80
+ super
81
+
82
+ raise Fluent::ConfigError, 'tag should not be empty' if tag.empty?
83
+ raise Fluent::ConfigError, 'tag_info should not be empty' if tag_info.empty?
84
+
85
+ check_druid_information
86
+ check_druid_queries
87
+ end
88
+
89
+ def check_druid_information
90
+ raise Fluent::ConfigError, 'druid_url should not be empty' if druid_url.empty?
91
+ end
92
+
93
+ def check_druid_queries
94
+ raise Fluent::ConfigError, 'queries should not be empty' if queries.empty?
95
+ end
96
+
97
+ def start
98
+ super
99
+
100
+ timer_execute(:run_queries_first, 1, repeat: false, &method(:run_queries)) if interval > 60
101
+ timer_execute(:run_queries, interval, repeat: true, &method(:run_queries))
102
+ end
103
+
104
+ def run_queries
105
+ queries.each do |query|
106
+ run_query(query)
107
+ rescue StandardError => e
108
+ log.error "while runnig query: #{query.sql}: #{e}"
109
+ end
110
+ end
111
+
112
+ def run_query(query)
113
+ query_time = Fluent::Engine.now
114
+ response = druid_client.sql.query(
115
+ query: query.sql,
116
+ header: false,
117
+ context: query_cache_context(use_cache: query.cache)
118
+ )
119
+ emit_query_records(query_time: query_time, query: query, response: response)
120
+ emit_query_info(query_time: query_time, query: query, response: response)
121
+ end
122
+
123
+ def query_cache_context(use_cache: true)
124
+ {
125
+ useCache: use_cache,
126
+ populateCache: use_cache
127
+ }
128
+ end
129
+
130
+ def druid_client
131
+ @druid_client ||= DruidClient::Api.new(
132
+ url: druid_url,
133
+ username: druid_user,
134
+ password: druid_password,
135
+ user_agent: druid_user_agent,
136
+ verify_ssl: druid_verify_ssl,
137
+ timeout: druid_timeout,
138
+ ca_file: ca_cert,
139
+ log: log
140
+ )
141
+ end
142
+
143
+ def emit_query_records(query:, response:, query_time: Fluent::Engine.now)
144
+ return unless query.generate_record
145
+ return unless response.success?
146
+
147
+ current_tag = [tag, query.subtag].compact.join('.')
148
+ query_events = MultiEventStream.new
149
+ response.body.each do |response_entry|
150
+ query_events.add(query_time, response_entry.merge(query.metadata))
151
+ end
152
+ router.emit_stream(current_tag, query_events)
153
+ end
154
+
155
+ def emit_query_info(query:, response:, query_time: Fluent::Engine.now)
156
+ return unless query.generate_info
157
+
158
+ current_tag = [tag_info, query.subtag].compact.join('.')
159
+ info_record = {
160
+ 'timestamp' => query_time.to_time.utc.iso8601(3),
161
+ 'status' => response.success? ? 'success' : 'failure',
162
+ 'status_code' => response.status_code,
163
+ 'query_duration' => response.duration,
164
+ 'response_rows_count' => response.body.size
165
+ }.merge(query.metadata)
166
+ router.emit(current_tag, query_time, info_record)
167
+ end
168
+ end
169
+ end
170
+ end
metadata ADDED
@@ -0,0 +1,283 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: fluent-plugin-druid-query
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Thomas Tych
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: bump
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - "~>"
17
+ - !ruby/object:Gem::Version
18
+ version: 0.10.0
19
+ type: :development
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - "~>"
24
+ - !ruby/object:Gem::Version
25
+ version: 0.10.0
26
+ - !ruby/object:Gem::Dependency
27
+ name: bundler
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - "~>"
31
+ - !ruby/object:Gem::Version
32
+ version: '2.6'
33
+ - - ">="
34
+ - !ruby/object:Gem::Version
35
+ version: 2.6.9
36
+ type: :development
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '2.6'
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ version: 2.6.9
46
+ - !ruby/object:Gem::Dependency
47
+ name: byebug
48
+ requirement: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - "~>"
51
+ - !ruby/object:Gem::Version
52
+ version: '11.1'
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: 11.1.3
56
+ type: :development
57
+ prerelease: false
58
+ version_requirements: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '11.1'
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: 11.1.3
66
+ - !ruby/object:Gem::Dependency
67
+ name: mocha
68
+ requirement: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - "~>"
71
+ - !ruby/object:Gem::Version
72
+ version: '2.7'
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: 2.7.1
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '2.7'
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: 2.7.1
86
+ - !ruby/object:Gem::Dependency
87
+ name: rake
88
+ requirement: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - "~>"
91
+ - !ruby/object:Gem::Version
92
+ version: 13.2.1
93
+ type: :development
94
+ prerelease: false
95
+ version_requirements: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - "~>"
98
+ - !ruby/object:Gem::Version
99
+ version: 13.2.1
100
+ - !ruby/object:Gem::Dependency
101
+ name: reek
102
+ requirement: !ruby/object:Gem::Requirement
103
+ requirements:
104
+ - - "~>"
105
+ - !ruby/object:Gem::Version
106
+ version: '6.4'
107
+ type: :development
108
+ prerelease: false
109
+ version_requirements: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - "~>"
112
+ - !ruby/object:Gem::Version
113
+ version: '6.4'
114
+ - !ruby/object:Gem::Dependency
115
+ name: rubocop
116
+ requirement: !ruby/object:Gem::Requirement
117
+ requirements:
118
+ - - "~>"
119
+ - !ruby/object:Gem::Version
120
+ version: '1.73'
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: 1.73.1
124
+ type: :development
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - "~>"
129
+ - !ruby/object:Gem::Version
130
+ version: '1.73'
131
+ - - ">="
132
+ - !ruby/object:Gem::Version
133
+ version: 1.73.1
134
+ - !ruby/object:Gem::Dependency
135
+ name: rubocop-rake
136
+ requirement: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - "~>"
139
+ - !ruby/object:Gem::Version
140
+ version: 0.7.1
141
+ type: :development
142
+ prerelease: false
143
+ version_requirements: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - "~>"
146
+ - !ruby/object:Gem::Version
147
+ version: 0.7.1
148
+ - !ruby/object:Gem::Dependency
149
+ name: ruby-lsp
150
+ requirement: !ruby/object:Gem::Requirement
151
+ requirements:
152
+ - - "~>"
153
+ - !ruby/object:Gem::Version
154
+ version: '0.23'
155
+ - - ">="
156
+ - !ruby/object:Gem::Version
157
+ version: 0.23.23
158
+ type: :development
159
+ prerelease: false
160
+ version_requirements: !ruby/object:Gem::Requirement
161
+ requirements:
162
+ - - "~>"
163
+ - !ruby/object:Gem::Version
164
+ version: '0.23'
165
+ - - ">="
166
+ - !ruby/object:Gem::Version
167
+ version: 0.23.23
168
+ - !ruby/object:Gem::Dependency
169
+ name: simplecov
170
+ requirement: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - "~>"
173
+ - !ruby/object:Gem::Version
174
+ version: 0.22.0
175
+ type: :development
176
+ prerelease: false
177
+ version_requirements: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - "~>"
180
+ - !ruby/object:Gem::Version
181
+ version: 0.22.0
182
+ - !ruby/object:Gem::Dependency
183
+ name: test-unit
184
+ requirement: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - "~>"
187
+ - !ruby/object:Gem::Version
188
+ version: '3.6'
189
+ - - ">="
190
+ - !ruby/object:Gem::Version
191
+ version: 3.6.7
192
+ type: :development
193
+ prerelease: false
194
+ version_requirements: !ruby/object:Gem::Requirement
195
+ requirements:
196
+ - - "~>"
197
+ - !ruby/object:Gem::Version
198
+ version: '3.6'
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: 3.6.7
202
+ - !ruby/object:Gem::Dependency
203
+ name: timecop
204
+ requirement: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - "~>"
207
+ - !ruby/object:Gem::Version
208
+ version: 0.9.10
209
+ type: :development
210
+ prerelease: false
211
+ version_requirements: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - "~>"
214
+ - !ruby/object:Gem::Version
215
+ version: 0.9.10
216
+ - !ruby/object:Gem::Dependency
217
+ name: druid_client
218
+ requirement: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - "~>"
221
+ - !ruby/object:Gem::Version
222
+ version: '0.1'
223
+ type: :runtime
224
+ prerelease: false
225
+ version_requirements: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - "~>"
228
+ - !ruby/object:Gem::Version
229
+ version: '0.1'
230
+ - !ruby/object:Gem::Dependency
231
+ name: fluentd
232
+ requirement: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - ">="
235
+ - !ruby/object:Gem::Version
236
+ version: 0.14.10
237
+ - - "<"
238
+ - !ruby/object:Gem::Version
239
+ version: '2'
240
+ type: :runtime
241
+ prerelease: false
242
+ version_requirements: !ruby/object:Gem::Requirement
243
+ requirements:
244
+ - - ">="
245
+ - !ruby/object:Gem::Version
246
+ version: 0.14.10
247
+ - - "<"
248
+ - !ruby/object:Gem::Version
249
+ version: '2'
250
+ email:
251
+ - thomas.tych@gmail.com
252
+ executables: []
253
+ extensions: []
254
+ extra_rdoc_files: []
255
+ files:
256
+ - ".rubocop.yml"
257
+ - LICENSE
258
+ - README.md
259
+ - Rakefile
260
+ - lib/fluent/plugin/in_druid_query.rb
261
+ homepage: https://gitlab.com/ttych/fluent-plugin-druid-query
262
+ licenses:
263
+ - Apache-2.0
264
+ metadata:
265
+ rubygems_mfa_required: 'true'
266
+ rdoc_options: []
267
+ require_paths:
268
+ - lib
269
+ required_ruby_version: !ruby/object:Gem::Requirement
270
+ requirements:
271
+ - - ">="
272
+ - !ruby/object:Gem::Version
273
+ version: 3.2.0
274
+ required_rubygems_version: !ruby/object:Gem::Requirement
275
+ requirements:
276
+ - - ">="
277
+ - !ruby/object:Gem::Version
278
+ version: '0'
279
+ requirements: []
280
+ rubygems_version: 3.6.9
281
+ specification_version: 4
282
+ summary: fluentd plugin to query Apache Druid
283
+ test_files: []