sorceror_jruby-kafka 2.0.0-java → 2.0.1-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jruby-kafka/error.rb +1 -1
- data/lib/jruby-kafka/group.rb +2 -2
- data/lib/sorceror_jruby-kafka_jars.rb +18 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c45083d353c5153e393011d0ff881846bccebf5
|
4
|
+
data.tar.gz: 9471d8d52083d5f1aeed5599d93cddad86800913
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55eec1502a7a43224b1d0b5e66f07f1ac06953460630edc66963bf38e27fef0dab3c93f55041bad2df2ea68b0b9374ee8394c5aa5c6248d9869800eb5bcda3b6
|
7
|
+
data.tar.gz: f85eacb264dfd1b205458db55f45fe7f69933af3fc60b4c5ed94421e9389d0ec745f0365aee07ce8bebe3f27e367213653d85bf6b0a0a4eee40b52d57ad8b879
|
data/lib/jruby-kafka/error.rb
CHANGED
data/lib/jruby-kafka/group.rb
CHANGED
@@ -159,7 +159,7 @@ class Kafka::Group
|
|
159
159
|
@running = false
|
160
160
|
end
|
161
161
|
|
162
|
-
def run(a_num_threads, &
|
162
|
+
def run(a_num_threads, &callback)
|
163
163
|
begin
|
164
164
|
if @reset_beginning == 'from-beginning'
|
165
165
|
Java::kafka::utils::ZkUtils.maybeDeletePath(@zk_connect, "/consumers/#{@group_id}")
|
@@ -178,7 +178,7 @@ class Kafka::Group
|
|
178
178
|
|
179
179
|
thread_number = 0
|
180
180
|
streams.each do |stream|
|
181
|
-
@executor_submit.call(Kafka::Consumer.new(stream, thread_number, @consumer_restart_on_error, @consumer_restart_sleep_ms,
|
181
|
+
@executor_submit.call(Kafka::Consumer.new(stream, thread_number, @consumer_restart_on_error, @consumer_restart_sleep_ms, callback))
|
182
182
|
thread_number += 1
|
183
183
|
end
|
184
184
|
@running = true
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# this is a generated file, to avoid over-writing it just delete this comment
|
2
|
+
require 'jar_dependencies'
|
3
|
+
|
4
|
+
require_jar( 'io.netty', 'netty', '3.7.0.Final' )
|
5
|
+
require_jar( 'org.slf4j', 'slf4j-api', '1.7.10' )
|
6
|
+
require_jar( 'org.slf4j', 'slf4j-log4j12', '1.7.10' )
|
7
|
+
require_jar( 'log4j', 'log4j', '1.2.17' )
|
8
|
+
require_jar( 'jline', 'jline', '0.9.94' )
|
9
|
+
require_jar( 'net.sf.jopt-simple', 'jopt-simple', '3.2' )
|
10
|
+
require_jar( 'org.xerial.snappy', 'snappy-java', '1.1.1.6' )
|
11
|
+
require_jar( 'junit', 'junit', '3.8.1' )
|
12
|
+
require_jar( 'com.yammer.metrics', 'metrics-core', '2.2.0' )
|
13
|
+
require_jar( 'org.apache.zookeeper', 'zookeeper', '3.4.6' )
|
14
|
+
require_jar( 'net.jpountz.lz4', 'lz4', '1.2.0' )
|
15
|
+
require_jar( 'org.apache.kafka', 'kafka-clients', '0.8.2.1' )
|
16
|
+
require_jar( 'org.apache.kafka', 'kafka_2.10', '0.8.2.1' )
|
17
|
+
require_jar( 'com.101tec', 'zkclient', '0.3' )
|
18
|
+
require_jar( 'org.scala-lang', 'scala-library', '2.10.4' )
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sorceror_jruby-kafka
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Kareem Kouddous
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -68,6 +68,7 @@ files:
|
|
68
68
|
- lib/jruby-kafka/namespace.rb
|
69
69
|
- lib/jruby-kafka/producer.rb
|
70
70
|
- lib/jruby-kafka_jars.rb
|
71
|
+
- lib/sorceror_jruby-kafka_jars.rb
|
71
72
|
homepage: https://github.com/itskoko/jruby-kafka
|
72
73
|
licenses:
|
73
74
|
- Apache 2.0
|
@@ -90,7 +91,7 @@ requirements:
|
|
90
91
|
- jar 'org.apache.kafka:kafka_2.10', '0.8.2.1'
|
91
92
|
- jar 'org.slf4j:slf4j-log4j12', '1.7.10'
|
92
93
|
rubyforge_project:
|
93
|
-
rubygems_version: 2.4.
|
94
|
+
rubygems_version: 2.4.8
|
94
95
|
signing_key:
|
95
96
|
specification_version: 4
|
96
97
|
summary: jruby Kafka wrapper
|