jruby-kafka 1.5.0-java → 1.6-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/lib/jruby-kafka.rb +1 -3
  3. data/lib/jruby-kafka/consumer.rb +1 -1
  4. data/lib/jruby-kafka/error.rb +1 -1
  5. data/lib/jruby-kafka/group.rb +1 -1
  6. data/lib/jruby-kafka/kafka-producer.rb +1 -1
  7. data/lib/jruby-kafka/producer.rb +3 -2
  8. data/lib/jruby-kafka/version.rb +4 -0
  9. metadata +37 -42
  10. data/lib/com/101tec/zkclient/maven-metadata-local.xml +0 -12
  11. data/lib/com/yammer/metrics/metrics-core/maven-metadata-local.xml +0 -12
  12. data/lib/io/netty/netty/maven-metadata-local.xml +0 -12
  13. data/lib/jline/jline/maven-metadata-local.xml +0 -12
  14. data/lib/jruby-kafka/namespace.rb +0 -3
  15. data/lib/junit/junit/maven-metadata-local.xml +0 -12
  16. data/lib/log4j/log4j/maven-metadata-local.xml +0 -12
  17. data/lib/net/jpountz/lz4/lz4/maven-metadata-local.xml +0 -12
  18. data/lib/net/sf/jopt-simple/jopt-simple/maven-metadata-local.xml +0 -12
  19. data/lib/org/apache/kafka/kafka-clients/maven-metadata-local.xml +0 -12
  20. data/lib/org/apache/kafka/kafka_2.10/maven-metadata-local.xml +0 -12
  21. data/lib/org/apache/zookeeper/zookeeper/maven-metadata-local.xml +0 -12
  22. data/lib/org/scala-lang/scala-library/maven-metadata-local.xml +0 -12
  23. data/lib/org/slf4j/slf4j-api/maven-metadata-local.xml +0 -12
  24. data/lib/org/slf4j/slf4j-log4j12/maven-metadata-local.xml +0 -12
  25. data/lib/org/xerial/snappy/snappy-java/maven-metadata-local.xml +0 -12
  26. data/lib/rubygems/jar-dependencies/maven-metadata-local.xml +0 -12
  27. data/lib/rubygems/rake/maven-metadata-local.xml +0 -12
  28. data/lib/rubygems/ruby-maven-libs/maven-metadata-local.xml +0 -12
  29. data/lib/rubygems/ruby-maven/maven-metadata-local.xml +0 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 91fff485b6335e034617b193376a46a25644e5c2
4
- data.tar.gz: 8773f6c5553a8f2ae9f69bf98bac63045d4180b3
3
+ metadata.gz: 74804d5df869296e9c69021f16b6c3a06f2c5eda
4
+ data.tar.gz: c3eaca64e76f052efb6761810d9f21250d7d9246
5
5
  SHA512:
6
- metadata.gz: e32a27c06e3d4d35870fcc8b591221148f3918c011445df38f0397617069948b9a3b5fd82bd5662678e8559f961b42f9b301a121d9d3546d46394af6a7933705
7
- data.tar.gz: f437759150b216037a4ddb7e7e1b86db9ad4377e46739cc673a7f2a9e189b6c777aef662890e823bb5d67cae6b1c78b93826394fca12de58d67c8275693fe53e
6
+ metadata.gz: 0174bf1519c770cf813902a3f370bbf02fa6196d39a60e709e278dbb19194cc82438644efacb0c108ad01a09adf0e892cb6b29f855848b28f3558d6e2bd931b0
7
+ data.tar.gz: 682efd66553024ab87548d4ed0c889caaefa570c45ef773f1afa99abfe2a7336b99a3c869fa4e0660273184e678abb38c65e062e69431babaeb7135603e4a1af
data/lib/jruby-kafka.rb CHANGED
@@ -1,8 +1,6 @@
1
+ require 'jruby-kafka/version'
1
2
  require 'jruby-kafka_jars.rb'
2
3
  require 'jruby-kafka/consumer'
3
4
  require 'jruby-kafka/group'
4
5
  require 'jruby-kafka/producer'
5
6
  require 'jruby-kafka/kafka-producer'
6
-
7
- module Kafka
8
- end
@@ -1,5 +1,5 @@
1
1
  require 'java'
2
- require 'jruby-kafka/namespace'
2
+ require 'jruby-kafka/version'
3
3
 
4
4
  # noinspection JRubyStringImportInspection
5
5
  class Kafka::Consumer
@@ -1,4 +1,4 @@
1
- require 'jruby-kafka/namespace'
1
+ require 'jruby-kafka/version'
2
2
 
3
3
  class KafkaError < StandardError
4
4
  attr_reader :object
@@ -1,5 +1,5 @@
1
1
  # basically we are porting this https://cwiki.apache.org/confluence/display/KAFKA/Consumer+Group+Example
2
- require 'jruby-kafka/namespace'
2
+ require 'jruby-kafka/version'
3
3
  require 'jruby-kafka/consumer'
4
4
  require 'jruby-kafka/error'
5
5
 
@@ -1,4 +1,4 @@
1
- require 'jruby-kafka/namespace'
1
+ require 'jruby-kafka/version'
2
2
  require 'jruby-kafka/error'
3
3
 
4
4
  # noinspection JRubyStringImportInspection
@@ -1,5 +1,5 @@
1
1
  # basically we are porting this https://cwiki.apache.org/confluence/display/KAFKA/0.8.0+Producer+Example
2
- require 'jruby-kafka/namespace'
2
+ require 'jruby-kafka/version'
3
3
  require 'jruby-kafka/error'
4
4
 
5
5
  # noinspection JRubyStringImportInspection
@@ -11,10 +11,11 @@ class Kafka::Producer
11
11
  java_import 'kafka.message.NoCompressionCodec'
12
12
  java_import 'kafka.message.GZIPCompressionCodec'
13
13
  java_import 'kafka.message.SnappyCompressionCodec'
14
+ java_import 'kafka.message.LZ4CompressionCodec'
14
15
 
15
16
  VALIDATIONS = {
16
17
  :'request.required.acks' => %w[ 0 1 -1 ],
17
- :'required.codecs' => [NoCompressionCodec.name, GZIPCompressionCodec.name, SnappyCompressionCodec.name],
18
+ :'required.codecs' => [NoCompressionCodec.name, GZIPCompressionCodec.name, SnappyCompressionCodec.name, LZ4CompressionCodec.name],
18
19
  :'producer.type' => %w[ sync async ]
19
20
  }
20
21
 
@@ -0,0 +1,4 @@
1
+ module Kafka
2
+ VERSION = '1.6'.freeze
3
+ JAR_DEPENDENCIES_VERSION = '0.3.2'.freeze
4
+ end
metadata CHANGED
@@ -1,58 +1,72 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jruby-kafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: '1.6'
5
5
  platform: java
6
6
  authors:
7
7
  - Joseph Lawson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-31 00:00:00.000000000 Z
11
+ date: 2016-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - "~>"
16
+ - - ~>
17
17
  - !ruby/object:Gem::Version
18
- version: '0'
18
+ version: 0.3.2
19
19
  name: jar-dependencies
20
20
  prerelease: false
21
- type: :runtime
21
+ type: :development
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: 0.3.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  requirement: !ruby/object:Gem::Requirement
29
29
  requirements:
30
- - - "~>"
30
+ - - ~>
31
31
  - !ruby/object:Gem::Version
32
- version: 3.3.8
33
- name: ruby-maven
32
+ version: '10.5'
33
+ name: rake
34
34
  prerelease: false
35
- type: :runtime
35
+ type: :development
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
- version: 3.3.8
40
+ version: '10.5'
41
41
  - !ruby/object:Gem::Dependency
42
42
  requirement: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - "~>"
44
+ - - ~>
45
45
  - !ruby/object:Gem::Version
46
- version: '10.4'
47
- name: rake
46
+ version: '3.4'
47
+ name: rspec
48
+ prerelease: false
49
+ type: :development
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '3.4'
55
+ - !ruby/object:Gem::Dependency
56
+ requirement: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ~>
59
+ - !ruby/object:Gem::Version
60
+ version: '3.3'
61
+ name: ruby-maven
48
62
  prerelease: false
49
63
  type: :development
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
- - - "~>"
66
+ - - ~>
53
67
  - !ruby/object:Gem::Version
54
- version: '10.4'
55
- description: this is primarily to be used as an interface for logstash
68
+ version: '3.3'
69
+ description: JRuby wrapper for Kafka
56
70
  email:
57
71
  - joe@joekiller.com
58
72
  executables: []
@@ -60,47 +74,28 @@ extensions: []
60
74
  extra_rdoc_files: []
61
75
  files:
62
76
  - lib/com/101tec/zkclient/0.3/zkclient-0.3.jar
63
- - lib/com/101tec/zkclient/maven-metadata-local.xml
64
77
  - lib/com/yammer/metrics/metrics-core/2.2.0/metrics-core-2.2.0.jar
65
- - lib/com/yammer/metrics/metrics-core/maven-metadata-local.xml
66
78
  - lib/io/netty/netty/3.7.0.Final/netty-3.7.0.Final.jar
67
- - lib/io/netty/netty/maven-metadata-local.xml
68
79
  - lib/jline/jline/0.9.94/jline-0.9.94.jar
69
- - lib/jline/jline/maven-metadata-local.xml
70
80
  - lib/jruby-kafka.rb
71
81
  - lib/jruby-kafka/consumer.rb
72
82
  - lib/jruby-kafka/error.rb
73
83
  - lib/jruby-kafka/group.rb
74
84
  - lib/jruby-kafka/kafka-producer.rb
75
- - lib/jruby-kafka/namespace.rb
76
85
  - lib/jruby-kafka/producer.rb
86
+ - lib/jruby-kafka/version.rb
77
87
  - lib/jruby-kafka_jars.rb
78
88
  - lib/junit/junit/3.8.1/junit-3.8.1.jar
79
- - lib/junit/junit/maven-metadata-local.xml
80
89
  - lib/log4j/log4j/1.2.17/log4j-1.2.17.jar
81
- - lib/log4j/log4j/maven-metadata-local.xml
82
90
  - lib/net/jpountz/lz4/lz4/1.2.0/lz4-1.2.0.jar
83
- - lib/net/jpountz/lz4/lz4/maven-metadata-local.xml
84
91
  - lib/net/sf/jopt-simple/jopt-simple/3.2/jopt-simple-3.2.jar
85
- - lib/net/sf/jopt-simple/jopt-simple/maven-metadata-local.xml
86
92
  - lib/org/apache/kafka/kafka-clients/0.8.2.2/kafka-clients-0.8.2.2.jar
87
- - lib/org/apache/kafka/kafka-clients/maven-metadata-local.xml
88
93
  - lib/org/apache/kafka/kafka_2.10/0.8.2.2/kafka_2.10-0.8.2.2.jar
89
- - lib/org/apache/kafka/kafka_2.10/maven-metadata-local.xml
90
94
  - lib/org/apache/zookeeper/zookeeper/3.4.6/zookeeper-3.4.6.jar
91
- - lib/org/apache/zookeeper/zookeeper/maven-metadata-local.xml
92
95
  - lib/org/scala-lang/scala-library/2.10.4/scala-library-2.10.4.jar
93
- - lib/org/scala-lang/scala-library/maven-metadata-local.xml
94
96
  - lib/org/slf4j/slf4j-api/1.7.13/slf4j-api-1.7.13.jar
95
- - lib/org/slf4j/slf4j-api/maven-metadata-local.xml
96
97
  - lib/org/slf4j/slf4j-log4j12/1.7.13/slf4j-log4j12-1.7.13.jar
97
- - lib/org/slf4j/slf4j-log4j12/maven-metadata-local.xml
98
98
  - lib/org/xerial/snappy/snappy-java/1.1.1.7/snappy-java-1.1.1.7.jar
99
- - lib/org/xerial/snappy/snappy-java/maven-metadata-local.xml
100
- - lib/rubygems/jar-dependencies/maven-metadata-local.xml
101
- - lib/rubygems/rake/maven-metadata-local.xml
102
- - lib/rubygems/ruby-maven-libs/maven-metadata-local.xml
103
- - lib/rubygems/ruby-maven/maven-metadata-local.xml
104
99
  homepage: https://github.com/joekiller/jruby-kafka
105
100
  licenses:
106
101
  - Apache 2.0
@@ -111,19 +106,19 @@ require_paths:
111
106
  - lib
112
107
  required_ruby_version: !ruby/object:Gem::Requirement
113
108
  requirements:
114
- - - ">="
109
+ - - '>='
115
110
  - !ruby/object:Gem::Version
116
111
  version: '0'
117
112
  required_rubygems_version: !ruby/object:Gem::Requirement
118
113
  requirements:
119
- - - ">="
114
+ - - '>='
120
115
  - !ruby/object:Gem::Version
121
116
  version: '0'
122
117
  requirements:
123
118
  - jar 'org.apache.kafka:kafka_2.10', '0.8.2.2'
124
119
  - jar 'org.slf4j:slf4j-log4j12', '1.7.13'
125
120
  rubyforge_project:
126
- rubygems_version: 2.4.8
121
+ rubygems_version: 2.4.5
127
122
  signing_key:
128
123
  specification_version: 4
129
124
  summary: jruby Kafka wrapper
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <metadata>
3
- <groupId>com.101tec</groupId>
4
- <artifactId>zkclient</artifactId>
5
- <versioning>
6
- <release>0.3</release>
7
- <versions>
8
- <version>0.3</version>
9
- </versions>
10
- <lastUpdated>20151231145241</lastUpdated>
11
- </versioning>
12
- </metadata>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <metadata>
3
- <groupId>com.yammer.metrics</groupId>
4
- <artifactId>metrics-core</artifactId>
5
- <versioning>
6
- <release>2.2.0</release>
7
- <versions>
8
- <version>2.2.0</version>
9
- </versions>
10
- <lastUpdated>20151231145241</lastUpdated>
11
- </versioning>
12
- </metadata>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <metadata>
3
- <groupId>io.netty</groupId>
4
- <artifactId>netty</artifactId>
5
- <versioning>
6
- <release>3.7.0.Final</release>
7
- <versions>
8
- <version>3.7.0.Final</version>
9
- </versions>
10
- <lastUpdated>20151231145241</lastUpdated>
11
- </versioning>
12
- </metadata>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <metadata>
3
- <groupId>jline</groupId>
4
- <artifactId>jline</artifactId>
5
- <versioning>
6
- <release>0.9.94</release>
7
- <versions>
8
- <version>0.9.94</version>
9
- </versions>
10
- <lastUpdated>20151231145241</lastUpdated>
11
- </versioning>
12
- </metadata>
@@ -1,3 +0,0 @@
1
- module Kafka
2
-
3
- end
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <metadata>
3
- <groupId>junit</groupId>
4
- <artifactId>junit</artifactId>
5
- <versioning>
6
- <release>3.8.1</release>
7
- <versions>
8
- <version>3.8.1</version>
9
- </versions>
10
- <lastUpdated>20151231145241</lastUpdated>
11
- </versioning>
12
- </metadata>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <metadata>
3
- <groupId>log4j</groupId>
4
- <artifactId>log4j</artifactId>
5
- <versioning>
6
- <release>1.2.17</release>
7
- <versions>
8
- <version>1.2.17</version>
9
- </versions>
10
- <lastUpdated>20151231145241</lastUpdated>
11
- </versioning>
12
- </metadata>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <metadata>
3
- <groupId>net.jpountz.lz4</groupId>
4
- <artifactId>lz4</artifactId>
5
- <versioning>
6
- <release>1.2.0</release>
7
- <versions>
8
- <version>1.2.0</version>
9
- </versions>
10
- <lastUpdated>20151231145241</lastUpdated>
11
- </versioning>
12
- </metadata>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <metadata>
3
- <groupId>net.sf.jopt-simple</groupId>
4
- <artifactId>jopt-simple</artifactId>
5
- <versioning>
6
- <release>3.2</release>
7
- <versions>
8
- <version>3.2</version>
9
- </versions>
10
- <lastUpdated>20151231145241</lastUpdated>
11
- </versioning>
12
- </metadata>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <metadata>
3
- <groupId>org.apache.kafka</groupId>
4
- <artifactId>kafka-clients</artifactId>
5
- <versioning>
6
- <release>0.8.2.2</release>
7
- <versions>
8
- <version>0.8.2.2</version>
9
- </versions>
10
- <lastUpdated>20151231145241</lastUpdated>
11
- </versioning>
12
- </metadata>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <metadata>
3
- <groupId>org.apache.kafka</groupId>
4
- <artifactId>kafka_2.10</artifactId>
5
- <versioning>
6
- <release>0.8.2.2</release>
7
- <versions>
8
- <version>0.8.2.2</version>
9
- </versions>
10
- <lastUpdated>20151231145241</lastUpdated>
11
- </versioning>
12
- </metadata>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <metadata>
3
- <groupId>org.apache.zookeeper</groupId>
4
- <artifactId>zookeeper</artifactId>
5
- <versioning>
6
- <release>3.4.6</release>
7
- <versions>
8
- <version>3.4.6</version>
9
- </versions>
10
- <lastUpdated>20151231145241</lastUpdated>
11
- </versioning>
12
- </metadata>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <metadata>
3
- <groupId>org.scala-lang</groupId>
4
- <artifactId>scala-library</artifactId>
5
- <versioning>
6
- <release>2.10.4</release>
7
- <versions>
8
- <version>2.10.4</version>
9
- </versions>
10
- <lastUpdated>20151231145241</lastUpdated>
11
- </versioning>
12
- </metadata>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <metadata>
3
- <groupId>org.slf4j</groupId>
4
- <artifactId>slf4j-api</artifactId>
5
- <versioning>
6
- <release>1.7.13</release>
7
- <versions>
8
- <version>1.7.13</version>
9
- </versions>
10
- <lastUpdated>20151231145241</lastUpdated>
11
- </versioning>
12
- </metadata>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <metadata>
3
- <groupId>org.slf4j</groupId>
4
- <artifactId>slf4j-log4j12</artifactId>
5
- <versioning>
6
- <release>1.7.13</release>
7
- <versions>
8
- <version>1.7.13</version>
9
- </versions>
10
- <lastUpdated>20151231145241</lastUpdated>
11
- </versioning>
12
- </metadata>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <metadata>
3
- <groupId>org.xerial.snappy</groupId>
4
- <artifactId>snappy-java</artifactId>
5
- <versioning>
6
- <release>1.1.1.7</release>
7
- <versions>
8
- <version>1.1.1.7</version>
9
- </versions>
10
- <lastUpdated>20151231145241</lastUpdated>
11
- </versioning>
12
- </metadata>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <metadata>
3
- <groupId>rubygems</groupId>
4
- <artifactId>jar-dependencies</artifactId>
5
- <versioning>
6
- <release>0.3.1</release>
7
- <versions>
8
- <version>0.3.1</version>
9
- </versions>
10
- <lastUpdated>20151231145241</lastUpdated>
11
- </versioning>
12
- </metadata>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <metadata>
3
- <groupId>rubygems</groupId>
4
- <artifactId>rake</artifactId>
5
- <versioning>
6
- <release>10.4.2</release>
7
- <versions>
8
- <version>10.4.2</version>
9
- </versions>
10
- <lastUpdated>20151231145241</lastUpdated>
11
- </versioning>
12
- </metadata>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <metadata>
3
- <groupId>rubygems</groupId>
4
- <artifactId>ruby-maven-libs</artifactId>
5
- <versioning>
6
- <release>3.3.3</release>
7
- <versions>
8
- <version>3.3.3</version>
9
- </versions>
10
- <lastUpdated>20151231145241</lastUpdated>
11
- </versioning>
12
- </metadata>
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <metadata>
3
- <groupId>rubygems</groupId>
4
- <artifactId>ruby-maven</artifactId>
5
- <versioning>
6
- <release>3.3.8</release>
7
- <versions>
8
- <version>3.3.8</version>
9
- </versions>
10
- <lastUpdated>20151231145241</lastUpdated>
11
- </versioning>
12
- </metadata>