ruby-kafka 0.3.16.beta1 → 0.3.16.beta2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 84b67d149d2ec1a2e2099aebc3372e5519d9085c
4
- data.tar.gz: b77bdd543fe069d3758227e649834125abd60fc2
3
+ metadata.gz: aa43ca9dd13cdd1f9f06db58d0799c91dfadf9b2
4
+ data.tar.gz: 5ca2bc1cf1771373ea10b5e0e8c03a76f048404a
5
5
  SHA512:
6
- metadata.gz: 6b41d4f4a6620e75eb4d9416d4255ca99c05ff36c98e7c350b57a7deb045a68b8028efb43e6510f54dc43294af0ac1d7738d1c7b481240895212b6df1e25d53a
7
- data.tar.gz: aba814998139f29f69205669045b765dd1031cb0e35749603b6063d000d8d091e910e110cd2927804ec2f986432e9b411d78fbd75d40a72fba93e08597d89c06
6
+ metadata.gz: efe7d3b0674fd2ad39e41d1ae0638de877f1ec7a4dd5ed920f566802ee92741350beaba377d040a5b08b35891631a0a11eed4752aaf42ee47019ac62e4f1bc0d
7
+ data.tar.gz: dec596d15cb047bc7d8c15d2aeed8f952ff098a01a44792da7fb915b87b96d6e8edefdcc94dabf861ac2060f1c535db01eb8a60735fa9dbacd9e5849f6d63c18
data/README.md CHANGED
@@ -2,9 +2,7 @@
2
2
 
3
3
  A Ruby client library for [Apache Kafka](http://kafka.apache.org/), a distributed log and message bus. The focus of this library will be operational simplicity, with good logging and metrics that can make debugging issues easier.
4
4
 
5
- The Producer API is currently beta level and used in production. There's an alpha level Consumer Group API that has not yet been used in production and that may change without warning. Feel free to try it out but don't expect it to be stable or correct quite yet.
6
-
7
- Although parts of this library work with Kafka 0.8 – specifically, the Producer API – it's being tested and developed against Kafka 0.9. The Consumer API will be 0.9 only.
5
+ Although parts of this library work with Kafka 0.8 specifically, the Producer API it's being tested and developed against Kafka 0.9. The Consumer API is Kafka 0.9+ only.
8
6
 
9
7
  ## Table of Contents
10
8
 
@@ -11,7 +11,7 @@ module Kafka
11
11
  #
12
12
  # Usually you'll need a separate connection to each broker in a cluster, since most
13
13
  # requests must be directed specifically to the broker that is currently leader for
14
- # the set of topic partitions you want to produce to or consumer from.
14
+ # the set of topic partitions you want to produce to or consume from.
15
15
  #
16
16
  # ## Instrumentation
17
17
  #
@@ -320,6 +320,8 @@ module Kafka
320
320
  end
321
321
 
322
322
  unless @pending_message_queue.empty?
323
+ # Mark the cluster as stale in order to force a cluster metadata refresh.
324
+ @cluster.mark_as_stale!
323
325
  raise DeliveryFailed, "Failed to assign partitions to #{@pending_message_queue.size} messages"
324
326
  end
325
327
 
data/lib/kafka/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Kafka
2
- VERSION = "0.3.16.beta1"
2
+ VERSION = "0.3.16.beta2"
3
3
  end
data/ruby-kafka.gemspec CHANGED
@@ -13,8 +13,6 @@ Gem::Specification.new do |spec|
13
13
 
14
14
  spec.description = <<-DESC.gsub(/^ /, "").strip
15
15
  A client library for the Kafka distributed commit log.
16
-
17
- Currently, only the Producer API is implemented.
18
16
  DESC
19
17
 
20
18
  spec.homepage = "https://github.com/zendesk/ruby-kafka"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-kafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.16.beta1
4
+ version: 0.3.16.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Schierbeck
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-12-05 00:00:00.000000000 Z
11
+ date: 2016-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -206,10 +206,7 @@ dependencies:
206
206
  - - ">="
207
207
  - !ruby/object:Gem::Version
208
208
  version: '0'
209
- description: |-
210
- A client library for the Kafka distributed commit log.
211
-
212
- Currently, only the Producer API is implemented.
209
+ description: A client library for the Kafka distributed commit log.
213
210
  email:
214
211
  - daniel.schierbeck@gmail.com
215
212
  executables: []