waterdrop 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +1 -1
- data/lib/water_drop/producer_proxy.rb +11 -8
- data/lib/water_drop/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 569fd25f4d1246edb49a726bbb294eb795c7ced2
|
4
|
+
data.tar.gz: a2feee69b17779258fa4ecb318da14f7bc1b2162
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b4524870d7e312d5678f2683725afd08eb59777b48aad03022b549f2acd2129ecd13c47fe2c0372724ad5e369c602eab719f1373d11bdada4b5506c3d11f6b7
|
7
|
+
data.tar.gz: 3f8d9896af0179f0d1bdd989da15212347e4db5b34ccb6ebc9a9d43ab4bdc7f96a35caffcc48c0ee451caa6b6de95561e39998bf445e2f1e88f416c26374967a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# WaterDrop changelog
|
2
2
|
|
3
|
+
## 0.1.11
|
4
|
+
- Poseidon options extractions and tweaks
|
5
|
+
|
3
6
|
## 0.1.10
|
4
7
|
- Switched raise_on_failure to ignore all StandardError failures (or not to), not just specific once
|
5
8
|
- Reloading inside connection pool connection that seems to be broken (one that failed) - this should prevent from multiple issues (but not from single one) that are related to the connection
|
data/Gemfile.lock
CHANGED
@@ -9,12 +9,16 @@ module WaterDrop
|
|
9
9
|
# send using it. After that time, we will recreate the connection
|
10
10
|
LIFE_TIME = 5 * 60 # 5 minute
|
11
11
|
|
12
|
-
#
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
12
|
+
# All default poseidon parameters that we want to use
|
13
|
+
POSEIDON_PARAMS = {
|
14
|
+
metadata_refresh_interval_ms: 5 * 60 * 1000, # 5 minutes
|
15
|
+
# @see https://kafka.apache.org/08/configuration.html
|
16
|
+
# Security level for producer
|
17
|
+
required_acks: -1,
|
18
|
+
# @see https://issues.apache.org/jira/browse/KAFKA-1494
|
19
|
+
retry_backoff_ms: 1000,
|
20
|
+
max_send_retries: 5
|
21
|
+
}
|
18
22
|
|
19
23
|
# @return [WaterDrop::ProducerProxy] proxy object to Poseidon::Producer
|
20
24
|
# @note To ignore @last_usage nil case - we just assume that it is being
|
@@ -53,8 +57,7 @@ module WaterDrop
|
|
53
57
|
@producer ||= Poseidon::Producer.new(
|
54
58
|
::WaterDrop.config.kafka_hosts,
|
55
59
|
producer_id,
|
56
|
-
|
57
|
-
required_acks: REQUIRED_ACKS
|
60
|
+
POSEIDON_PARAMS
|
58
61
|
)
|
59
62
|
end
|
60
63
|
|
data/lib/water_drop/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: waterdrop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maciej Mensfeld
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-10-
|
12
|
+
date: 2015-10-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|