logstash-input-pulsar 2.11.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +3 -0
- data/README.md +104 -0
- data/lib/com/beust/jcommander/1.82/jcommander-1.82.jar +0 -0
- data/lib/com/github/luben/zstd-jni/1.3.7-3/zstd-jni-1.3.7-3.jar +0 -0
- data/lib/com/sun/activation/javax.activation/1.2.0/javax.activation-1.2.0.jar +0 -0
- data/lib/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar +0 -0
- data/lib/javax/ws/rs/javax.ws.rs-api/2.1/javax.ws.rs-api-2.1.jar +0 -0
- data/lib/log4j/log4j/1.2.17/log4j-1.2.17.jar +0 -0
- data/lib/logstash/inputs/pulsar.rb +139 -0
- data/lib/logstash-input-pulsar_jars.rb +5 -0
- data/lib/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar +0 -0
- data/lib/org/apache/logging/log4j/log4j-1.2-api/2.18.0/log4j-1.2-api-2.18.0.jar +0 -0
- data/lib/org/apache/logging/log4j/log4j-1.2-api/2.6.2/log4j-1.2-api-2.6.2.jar +0 -0
- data/lib/org/apache/logging/log4j/log4j-api/2.18.0/log4j-api-2.18.0.jar +0 -0
- data/lib/org/apache/logging/log4j/log4j-api/2.6.2/log4j-api-2.6.2.jar +0 -0
- data/lib/org/apache/logging/log4j/log4j-core/2.18.0/log4j-core-2.18.0.jar +0 -0
- data/lib/org/apache/logging/log4j/log4j-core/2.6.2/log4j-core-2.6.2.jar +0 -0
- data/lib/org/apache/logging/log4j/log4j-slf4j-impl/2.18.0/log4j-slf4j-impl-2.18.0.jar +0 -0
- data/lib/org/apache/pulsar/bouncy-castle-bc/2.11.0/bouncy-castle-bc-2.11.0-pkg.jar +0 -0
- data/lib/org/apache/pulsar/protobuf-shaded/2.1.0-incubating/protobuf-shaded-2.1.0-incubating.jar +0 -0
- data/lib/org/apache/pulsar/pulsar-client/2.11.0/pulsar-client-2.11.0.jar +0 -0
- data/lib/org/apache/pulsar/pulsar-client/2.3.0/pulsar-client-2.3.0.jar +0 -0
- data/lib/org/apache/pulsar/pulsar-client-admin-api/2.11.0/pulsar-client-admin-api-2.11.0.jar +0 -0
- data/lib/org/apache/pulsar/pulsar-client-api/2.11.0/pulsar-client-api-2.11.0.jar +0 -0
- data/lib/org/apache/pulsar/pulsar-client-api/2.3.0/pulsar-client-api-2.3.0.jar +0 -0
- data/lib/org/bouncycastle/bcpkix-jdk15on/1.60/bcpkix-jdk15on-1.60.jar +0 -0
- data/lib/org/bouncycastle/bcpkix-jdk15on/1.69/bcpkix-jdk15on-1.69.jar +0 -0
- data/lib/org/bouncycastle/bcprov-ext-jdk15on/1.69/bcprov-ext-jdk15on-1.69.jar +0 -0
- data/lib/org/bouncycastle/bcprov-jdk15on/1.60/bcprov-jdk15on-1.60.jar +0 -0
- data/lib/org/bouncycastle/bcprov-jdk15on/1.69/bcprov-jdk15on-1.69.jar +0 -0
- data/lib/org/bouncycastle/bcutil-jdk15on/1.69/bcutil-jdk15on-1.69.jar +0 -0
- data/lib/org/lz4/lz4-java/1.5.0/lz4-java-1.5.0.jar +0 -0
- data/lib/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar +0 -0
- data/lib/org/slf4j/slf4j-api/1.7.32/slf4j-api-1.7.32.jar +0 -0
- data/lib/org/slf4j/slf4j-log4j12/1.7.21/slf4j-log4j12-1.7.21.jar +0 -0
- data/lib/org/slf4j/slf4j-log4j12/1.7.32/slf4j-log4j12-1.7.32.jar +0 -0
- data/logstash-input-pulsar.gemspec +35 -0
- data/vendor/jar-dependencies/runtime-jars/bcpkix-jdk15on-1.69.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/bcprov-ext-jdk15on-1.69.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/bcprov-jdk15on-1.69.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/bcutil-jdk15on-1.69.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/bouncy-castle-bc-2.11.0-pkg.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/javax.activation-1.2.0.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/javax.ws.rs-api-2.1.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/jcip-annotations-1.0.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/jcommander-1.82.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/log4j-1.2-api-2.18.0.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/log4j-1.2.17.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/log4j-api-2.18.0.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/log4j-core-2.18.0.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/log4j-slf4j-impl-2.18.0.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/pulsar-client-2.11.0.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/pulsar-client-admin-api-2.11.0.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/pulsar-client-api-2.11.0.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/slf4j-api-1.7.32.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/slf4j-log4j12-1.7.32.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/validation-api-1.1.0.Final.jar +0 -0
- metadata +217 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: cc98f64cde7bf6bcf1b359fe61faf76cc92fc7c06f8e17e15d53e88a8ef97537
|
4
|
+
data.tar.gz: 3d755959c993856d6717ac7c1f47dc33a00827e6231efd25a51f15dd7ea41970
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 7064fde6c6691c3093ca933422e6aa166b6e64e17e57c12c074ae3e4d6f163c27d79d8fddb51a45d3f10b320ce5a9762fdadb85648458a57b7e72929d6775df4
|
7
|
+
data.tar.gz: 605cf404da01e18f7ceb84e2e480863630369a474eccd50ca03b46ca0c877bd14b267e014d103a6f9680a7435d0618fb7d7f64addbeb9c808323b8dcf89287e4
|
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,104 @@
|
|
1
|
+
# Logstash Input Pulsar Plugin
|
2
|
+
|
3
|
+
This is a Ruby plugin for [Logstash](https://github.com/elastic/logstash).
|
4
|
+
|
5
|
+
It is fully free and fully open source. The license is Apache 2.0, meaning you are free to use it however you want.
|
6
|
+
|
7
|
+
This input will read events from a Pulsar topic.
|
8
|
+
|
9
|
+
The version of this plugin x.y.z.m conforms to Pulsar x.y.z, while m is the patch version number. For broker compatibility, see the official Pulsar compatibility reference. If the compatibility wiki is not up-to-date, please contact Pulsar support/community to confirm compatibility.
|
10
|
+
|
11
|
+
If you require features not yet available in this plugin (including client version upgrades), please file an issue with details about what you need.
|
12
|
+
|
13
|
+
# Pulsar Input Configuration Options
|
14
|
+
|
15
|
+
This plugin supports these configuration options.
|
16
|
+
|
17
|
+
| Settings | Input type | Default value | Required |
|
18
|
+
| ----------------------------- | :----------------------------------------------------------: | ----------------: | -------: |
|
19
|
+
| service_url | string | - | Yes |
|
20
|
+
| topics or topics_pattern | array | ["topic-1"] | No |
|
21
|
+
| subscription_name | string | "logstash-group" | No |
|
22
|
+
| client_id | string | "logstash-client" | No |
|
23
|
+
| subscription_type | string, one of["Shared","Exclusive","Failover","Key_shared"] | "Shared" | No |
|
24
|
+
| subscription_initial_position | string, one of["Latest","Earliest"] | "Earliest" | No |
|
25
|
+
| codec | codec | "plain" | No |
|
26
|
+
| consumer_threads | number | 1 | No |
|
27
|
+
| decorate_events | boolean | false | No |
|
28
|
+
| commit_async | boolean | false | No |
|
29
|
+
| auth_plugin_class_name | string | - | No |
|
30
|
+
| auth_params | password | - | No |
|
31
|
+
|
32
|
+
# Example
|
33
|
+
|
34
|
+
pulsar without tls & token
|
35
|
+
|
36
|
+
```
|
37
|
+
input{
|
38
|
+
pulsar{
|
39
|
+
serviceUrl => "pulsar://127.0.0.1:6650"
|
40
|
+
codec => "json"
|
41
|
+
topics => [
|
42
|
+
"persistent://public/default/topic1",
|
43
|
+
"persistent://public/default/topic2"
|
44
|
+
]
|
45
|
+
subscriptionName => "my_consumer"
|
46
|
+
subscriptionType => "Shared"
|
47
|
+
subscriptionInitialPosition => "Earliest"
|
48
|
+
}
|
49
|
+
}
|
50
|
+
```
|
51
|
+
|
52
|
+
pulsar with token
|
53
|
+
|
54
|
+
```
|
55
|
+
input{
|
56
|
+
pulsar{
|
57
|
+
serviceUrl => "pulsar://127.0.0.1:6650"
|
58
|
+
codec => "plain"
|
59
|
+
topics => [
|
60
|
+
"persistent://public/default/topic1",
|
61
|
+
"persistent://public/default/topic2"
|
62
|
+
]
|
63
|
+
subscriptionName => "my_subscription"
|
64
|
+
subscriptionType => "Shared"
|
65
|
+
subscriptionInitialPosition => "Earliest"
|
66
|
+
auth_plugin_class_name => "org.apache.pulsar.client.impl.auth.AuthenticationToken"
|
67
|
+
auth_params => "token:${token}"
|
68
|
+
}
|
69
|
+
}
|
70
|
+
```
|
71
|
+
|
72
|
+
# Installation
|
73
|
+
|
74
|
+
1. Get the latest zip file from release page.
|
75
|
+
https://github.com/NiuBlibing/logstash-input-pulsar/releases
|
76
|
+
|
77
|
+
2. Install this plugin using logstash preoffline command.
|
78
|
+
|
79
|
+
```
|
80
|
+
bin/logstash-plugin install /{PATH_TO}/logstash-input-pulsar-x.y.z.m.gem
|
81
|
+
```
|
82
|
+
|
83
|
+
# Develop
|
84
|
+
|
85
|
+
1. Develop environment
|
86
|
+
|
87
|
+
- rvm
|
88
|
+
- jruby (**_Do not_** use ruby, it may fail to compile)
|
89
|
+
- gem
|
90
|
+
- bundler
|
91
|
+
- rake
|
92
|
+
|
93
|
+
2. Install dependencies
|
94
|
+
|
95
|
+
```sh
|
96
|
+
bundle install
|
97
|
+
rake install_jars
|
98
|
+
```
|
99
|
+
|
100
|
+
3. Build
|
101
|
+
|
102
|
+
```sh
|
103
|
+
gem build logstash-input-pulsar.gemspec
|
104
|
+
```
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,139 @@
|
|
1
|
+
require 'logstash/namespace'
|
2
|
+
require 'logstash/inputs/base'
|
3
|
+
require 'stud/interval'
|
4
|
+
require 'java'
|
5
|
+
require 'logstash-input-pulsar_jars'
|
6
|
+
|
7
|
+
class LogStash::Inputs::Pulsar < LogStash::Inputs::Base
|
8
|
+
config_name "pulsar"
|
9
|
+
|
10
|
+
default :codec, 'plain'
|
11
|
+
|
12
|
+
config :service_url, :validate => :string, :required => true
|
13
|
+
config :auth_plugin_class_name, :validate => :string
|
14
|
+
config :auth_params, :validate => :password
|
15
|
+
|
16
|
+
config :topics, :validate => :array, :default => ["topic-1"]
|
17
|
+
config :topics_pattern, :validate => :string
|
18
|
+
|
19
|
+
config :subscription_name, :validate => :string, :default => "logstash-group"
|
20
|
+
config :client_id, :validate => :string, :default => "logstash-client"
|
21
|
+
config :subscription_type, :validate => :string, :default => "Shared"
|
22
|
+
config :subscription_initial_position, :validate => :string, :default => "Earliest"
|
23
|
+
config :consumer_threads, :validate => :number, :default => 1
|
24
|
+
|
25
|
+
|
26
|
+
config :decorate_events, :validate => :boolean, :default => false
|
27
|
+
config :commit_async, :validate => :boolean, :default => false
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
public
|
33
|
+
def register
|
34
|
+
logger.info("register logstash-input-pulsar")
|
35
|
+
@runner_threads = []
|
36
|
+
@runner_pulsar_clients = Array.new
|
37
|
+
end # def register
|
38
|
+
|
39
|
+
public
|
40
|
+
def run(logstash_queue)
|
41
|
+
@runner_consumers = consumer_threads.times.map { |i| create_consumer("#{client_id}-#{i}") }
|
42
|
+
@runner_threads = @runner_consumers.map { |consumer| thread_runner(logstash_queue, consumer) }
|
43
|
+
@runner_threads.each { |t| t.join }
|
44
|
+
end # def run
|
45
|
+
|
46
|
+
# logstash 关闭回调
|
47
|
+
public
|
48
|
+
def stop
|
49
|
+
logger.info("Stop all pulsar consumer !")
|
50
|
+
@runner_consumers.each { |c| c.close }
|
51
|
+
|
52
|
+
logger.info("Stop all pulsar client !!!")
|
53
|
+
@runner_pulsar_clients.each { |c| c.close }
|
54
|
+
|
55
|
+
@runner_threads.each { |t| t.exit }
|
56
|
+
end
|
57
|
+
|
58
|
+
private
|
59
|
+
def create_consumer(client_id)
|
60
|
+
begin
|
61
|
+
logger.info("client - ", :client => client_id)
|
62
|
+
clientBuilder = org.apache.pulsar.client.api.PulsarClient.builder()
|
63
|
+
clientBuilder.serviceUrl(@service_url)
|
64
|
+
if not @auth_plugin_class_name.nil? and not @auth_params.nil?
|
65
|
+
auth = org.apache.pulsar.client.api.AuthenticationFactory.create(@auth_plugin_class_name, @auth_params.value)
|
66
|
+
clientBuilder.authentication(auth)
|
67
|
+
end
|
68
|
+
client = clientBuilder.build
|
69
|
+
@runner_pulsar_clients.push(client)
|
70
|
+
|
71
|
+
logger.info("topic:",:topic => @topics.to_java('java.lang.String'))
|
72
|
+
|
73
|
+
consumerBuilder = client.newConsumer.clone
|
74
|
+
unless @topics_pattern.nil?
|
75
|
+
consumerBuilder.topicsPattern(@topics_pattern.to_java('java.lang.String'))
|
76
|
+
else
|
77
|
+
consumerBuilder.topic(@topics.to_java('java.lang.String'))
|
78
|
+
end
|
79
|
+
|
80
|
+
subscriptionType = org.apache.pulsar.client.api.SubscriptionType
|
81
|
+
if @subscription_type == "Exclusive"
|
82
|
+
consumerBuilder.subscriptionType(subscriptionType::Exclusive)
|
83
|
+
elsif @subscription_type == "Failover"
|
84
|
+
consumerBuilder.subscriptionType(subscriptionType::Failover)
|
85
|
+
elsif @subscription_type == "Key_Shared"
|
86
|
+
consumerBuilder.subscriptionType(subscriptionType::Key_Shared)
|
87
|
+
else
|
88
|
+
consumerBuilder.subscriptionType(subscriptionType::Shared)
|
89
|
+
end
|
90
|
+
|
91
|
+
subscriptionInitialPositionType = org.apache.pulsar.client.api.SubscriptionInitialPosition
|
92
|
+
if @subscription_initial_position == "Latest"
|
93
|
+
consumerBuilder.subscriptionInitialPosition(subscriptionInitialPositionType::Latest)
|
94
|
+
else
|
95
|
+
consumerBuilder.subscriptionInitialPosition(subscriptionInitialPositionType::Earliest)
|
96
|
+
end
|
97
|
+
|
98
|
+
consumer = consumerBuilder.subscriptionName(@subscription_name)
|
99
|
+
.consumerName(client_id)
|
100
|
+
.subscribe();
|
101
|
+
|
102
|
+
rescue => e
|
103
|
+
logger.error("Unable to create pulsar consumer from given configuration",
|
104
|
+
:pulsar_error_message => e,
|
105
|
+
:cause => e.respond_to?(:getCause) ? e.getCause() : nil)
|
106
|
+
throw e
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
private
|
111
|
+
def thread_runner(logstash_queue, consumer)
|
112
|
+
Thread.new do
|
113
|
+
begin
|
114
|
+
while !stop?
|
115
|
+
record = consumer.receive;
|
116
|
+
@codec.decode(record.getValue.to_s) do |event|
|
117
|
+
decorate(event)
|
118
|
+
if @decorate_events
|
119
|
+
event.set("[pulsar][topic]", record.getTopicName)
|
120
|
+
event.set("[pulsar][offset]", record.getMessageId)
|
121
|
+
event.set("[pulsar][key]", record.getKey)
|
122
|
+
end
|
123
|
+
logstash_queue << event
|
124
|
+
if commit_async
|
125
|
+
consumer.acknowledgeAsync(record)
|
126
|
+
else
|
127
|
+
consumer.acknowledge(record)
|
128
|
+
end
|
129
|
+
|
130
|
+
end
|
131
|
+
end
|
132
|
+
rescue => e
|
133
|
+
logger.error("exit - ",:cause => e.respond_to?(:getCause) ? e.getCause() : nil)
|
134
|
+
consumer.close
|
135
|
+
end
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/org/apache/pulsar/protobuf-shaded/2.1.0-incubating/protobuf-shaded-2.1.0-incubating.jar
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,35 @@
|
|
1
|
+
Gem::Specification.new do |s|
|
2
|
+
s.name = 'logstash-input-pulsar'
|
3
|
+
s.version = '2.11.0.3'
|
4
|
+
s.licenses = ['Apache-2.0']
|
5
|
+
s.summary = 'This input will read events from a pulsar topic.'
|
6
|
+
s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
|
7
|
+
s.authors = ['ShiyiLiang', 'Tianyue Ren']
|
8
|
+
s.email = 'rentianyue-jk@360shuke.com'
|
9
|
+
s.homepage = "https://github.com/NiuBlibing/logstash-input-pulsar"
|
10
|
+
s.require_paths = ['lib']
|
11
|
+
|
12
|
+
# Files
|
13
|
+
s.files = Dir["lib/**/*","spec/**/*","*.gemspec","*.md","CONTRIBUTORS","Gemfile","LICENSE","NOTICE.TXT", "vendor/jar-dependencies/**/*.jar", "vendor/jar-dependencies/**/*.rb", "VERSION", "docs/**/*"]
|
14
|
+
|
15
|
+
# Tests
|
16
|
+
#s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
17
|
+
|
18
|
+
# Special flag to let us know this is actually a logstash plugin
|
19
|
+
s.metadata = { 'logstash_plugin' => 'true', 'group' => 'input'}
|
20
|
+
|
21
|
+
s.requirements << "jar 'org.apache.pulsar:pulsar-client', '2.11.0'"
|
22
|
+
s.requirements << "jar 'org.slf4j:slf4j-log4j12', '1.7.32'"
|
23
|
+
s.requirements << "jar 'org.apache.logging.log4j:log4j-1.2-api', '2.18.0'"
|
24
|
+
|
25
|
+
s.add_development_dependency 'jar-dependencies', '~> 0.4.1'
|
26
|
+
|
27
|
+
# Gem dependencies
|
28
|
+
s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99"
|
29
|
+
s.add_runtime_dependency 'logstash-codec-json'
|
30
|
+
s.add_runtime_dependency 'logstash-codec-plain'
|
31
|
+
s.add_runtime_dependency 'stud', '>= 0.0.22', '< 0.1.0'
|
32
|
+
|
33
|
+
s.add_development_dependency 'logstash-devutils'
|
34
|
+
s.add_development_dependency 'rspec-wait'
|
35
|
+
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
ADDED
@@ -0,0 +1,217 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: logstash-input-pulsar
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.11.0.3
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- ShiyiLiang
|
8
|
+
- Tianyue Ren
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2023-03-14 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.4.1
|
20
|
+
name: jar-dependencies
|
21
|
+
prerelease: false
|
22
|
+
type: :development
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: 0.4.1
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.60'
|
34
|
+
- - "<="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '2.99'
|
37
|
+
name: logstash-core-plugin-api
|
38
|
+
prerelease: false
|
39
|
+
type: :runtime
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '1.60'
|
45
|
+
- - "<="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.99'
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
name: logstash-codec-json
|
55
|
+
prerelease: false
|
56
|
+
type: :runtime
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
name: logstash-codec-plain
|
69
|
+
prerelease: false
|
70
|
+
type: :runtime
|
71
|
+
version_requirements: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
- !ruby/object:Gem::Dependency
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: 0.0.22
|
82
|
+
- - "<"
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: 0.1.0
|
85
|
+
name: stud
|
86
|
+
prerelease: false
|
87
|
+
type: :runtime
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: 0.0.22
|
93
|
+
- - "<"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: 0.1.0
|
96
|
+
- !ruby/object:Gem::Dependency
|
97
|
+
requirement: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - ">="
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
name: logstash-devutils
|
103
|
+
prerelease: false
|
104
|
+
type: :development
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
requirement: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - ">="
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: '0'
|
116
|
+
name: rspec-wait
|
117
|
+
prerelease: false
|
118
|
+
type: :development
|
119
|
+
version_requirements: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - ">="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '0'
|
124
|
+
description: This gem is a Logstash plugin required to be installed on top of the
|
125
|
+
Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This
|
126
|
+
gem is not a stand-alone program
|
127
|
+
email: rentianyue-jk@360shuke.com
|
128
|
+
executables: []
|
129
|
+
extensions: []
|
130
|
+
extra_rdoc_files: []
|
131
|
+
files:
|
132
|
+
- Gemfile
|
133
|
+
- README.md
|
134
|
+
- lib/com/beust/jcommander/1.82/jcommander-1.82.jar
|
135
|
+
- lib/com/github/luben/zstd-jni/1.3.7-3/zstd-jni-1.3.7-3.jar
|
136
|
+
- lib/com/sun/activation/javax.activation/1.2.0/javax.activation-1.2.0.jar
|
137
|
+
- lib/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar
|
138
|
+
- lib/javax/ws/rs/javax.ws.rs-api/2.1/javax.ws.rs-api-2.1.jar
|
139
|
+
- lib/log4j/log4j/1.2.17/log4j-1.2.17.jar
|
140
|
+
- lib/logstash-input-pulsar_jars.rb
|
141
|
+
- lib/logstash/inputs/pulsar.rb
|
142
|
+
- lib/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar
|
143
|
+
- lib/org/apache/logging/log4j/log4j-1.2-api/2.18.0/log4j-1.2-api-2.18.0.jar
|
144
|
+
- lib/org/apache/logging/log4j/log4j-1.2-api/2.6.2/log4j-1.2-api-2.6.2.jar
|
145
|
+
- lib/org/apache/logging/log4j/log4j-api/2.18.0/log4j-api-2.18.0.jar
|
146
|
+
- lib/org/apache/logging/log4j/log4j-api/2.6.2/log4j-api-2.6.2.jar
|
147
|
+
- lib/org/apache/logging/log4j/log4j-core/2.18.0/log4j-core-2.18.0.jar
|
148
|
+
- lib/org/apache/logging/log4j/log4j-core/2.6.2/log4j-core-2.6.2.jar
|
149
|
+
- lib/org/apache/logging/log4j/log4j-slf4j-impl/2.18.0/log4j-slf4j-impl-2.18.0.jar
|
150
|
+
- lib/org/apache/pulsar/bouncy-castle-bc/2.11.0/bouncy-castle-bc-2.11.0-pkg.jar
|
151
|
+
- lib/org/apache/pulsar/protobuf-shaded/2.1.0-incubating/protobuf-shaded-2.1.0-incubating.jar
|
152
|
+
- lib/org/apache/pulsar/pulsar-client-admin-api/2.11.0/pulsar-client-admin-api-2.11.0.jar
|
153
|
+
- lib/org/apache/pulsar/pulsar-client-api/2.11.0/pulsar-client-api-2.11.0.jar
|
154
|
+
- lib/org/apache/pulsar/pulsar-client-api/2.3.0/pulsar-client-api-2.3.0.jar
|
155
|
+
- lib/org/apache/pulsar/pulsar-client/2.11.0/pulsar-client-2.11.0.jar
|
156
|
+
- lib/org/apache/pulsar/pulsar-client/2.3.0/pulsar-client-2.3.0.jar
|
157
|
+
- lib/org/bouncycastle/bcpkix-jdk15on/1.60/bcpkix-jdk15on-1.60.jar
|
158
|
+
- lib/org/bouncycastle/bcpkix-jdk15on/1.69/bcpkix-jdk15on-1.69.jar
|
159
|
+
- lib/org/bouncycastle/bcprov-ext-jdk15on/1.69/bcprov-ext-jdk15on-1.69.jar
|
160
|
+
- lib/org/bouncycastle/bcprov-jdk15on/1.60/bcprov-jdk15on-1.60.jar
|
161
|
+
- lib/org/bouncycastle/bcprov-jdk15on/1.69/bcprov-jdk15on-1.69.jar
|
162
|
+
- lib/org/bouncycastle/bcutil-jdk15on/1.69/bcutil-jdk15on-1.69.jar
|
163
|
+
- lib/org/lz4/lz4-java/1.5.0/lz4-java-1.5.0.jar
|
164
|
+
- lib/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar
|
165
|
+
- lib/org/slf4j/slf4j-api/1.7.32/slf4j-api-1.7.32.jar
|
166
|
+
- lib/org/slf4j/slf4j-log4j12/1.7.21/slf4j-log4j12-1.7.21.jar
|
167
|
+
- lib/org/slf4j/slf4j-log4j12/1.7.32/slf4j-log4j12-1.7.32.jar
|
168
|
+
- logstash-input-pulsar.gemspec
|
169
|
+
- vendor/jar-dependencies/runtime-jars/bcpkix-jdk15on-1.69.jar
|
170
|
+
- vendor/jar-dependencies/runtime-jars/bcprov-ext-jdk15on-1.69.jar
|
171
|
+
- vendor/jar-dependencies/runtime-jars/bcprov-jdk15on-1.69.jar
|
172
|
+
- vendor/jar-dependencies/runtime-jars/bcutil-jdk15on-1.69.jar
|
173
|
+
- vendor/jar-dependencies/runtime-jars/bouncy-castle-bc-2.11.0-pkg.jar
|
174
|
+
- vendor/jar-dependencies/runtime-jars/javax.activation-1.2.0.jar
|
175
|
+
- vendor/jar-dependencies/runtime-jars/javax.ws.rs-api-2.1.jar
|
176
|
+
- vendor/jar-dependencies/runtime-jars/jcip-annotations-1.0.jar
|
177
|
+
- vendor/jar-dependencies/runtime-jars/jcommander-1.82.jar
|
178
|
+
- vendor/jar-dependencies/runtime-jars/log4j-1.2-api-2.18.0.jar
|
179
|
+
- vendor/jar-dependencies/runtime-jars/log4j-1.2.17.jar
|
180
|
+
- vendor/jar-dependencies/runtime-jars/log4j-api-2.18.0.jar
|
181
|
+
- vendor/jar-dependencies/runtime-jars/log4j-core-2.18.0.jar
|
182
|
+
- vendor/jar-dependencies/runtime-jars/log4j-slf4j-impl-2.18.0.jar
|
183
|
+
- vendor/jar-dependencies/runtime-jars/pulsar-client-2.11.0.jar
|
184
|
+
- vendor/jar-dependencies/runtime-jars/pulsar-client-admin-api-2.11.0.jar
|
185
|
+
- vendor/jar-dependencies/runtime-jars/pulsar-client-api-2.11.0.jar
|
186
|
+
- vendor/jar-dependencies/runtime-jars/slf4j-api-1.7.32.jar
|
187
|
+
- vendor/jar-dependencies/runtime-jars/slf4j-log4j12-1.7.32.jar
|
188
|
+
- vendor/jar-dependencies/runtime-jars/validation-api-1.1.0.Final.jar
|
189
|
+
homepage: https://github.com/NiuBlibing/logstash-input-pulsar
|
190
|
+
licenses:
|
191
|
+
- Apache-2.0
|
192
|
+
metadata:
|
193
|
+
logstash_plugin: 'true'
|
194
|
+
group: input
|
195
|
+
post_install_message:
|
196
|
+
rdoc_options: []
|
197
|
+
require_paths:
|
198
|
+
- lib
|
199
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
200
|
+
requirements:
|
201
|
+
- - ">="
|
202
|
+
- !ruby/object:Gem::Version
|
203
|
+
version: '0'
|
204
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
requirements:
|
210
|
+
- jar 'org.apache.pulsar:pulsar-client', '2.11.0'
|
211
|
+
- jar 'org.slf4j:slf4j-log4j12', '1.7.32'
|
212
|
+
- jar 'org.apache.logging.log4j:log4j-1.2-api', '2.18.0'
|
213
|
+
rubygems_version: 3.3.25
|
214
|
+
signing_key:
|
215
|
+
specification_version: 4
|
216
|
+
summary: This input will read events from a pulsar topic.
|
217
|
+
test_files: []
|