deimos-kafka 1.0.0.pre.beta20 → 1.0.0.pre.beta21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +1 -1
- data/lib/deimos/utils/db_producer.rb +3 -0
- data/lib/deimos/version.rb +1 -1
- data/spec/utils/db_producer_spec.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a1ff5dc14bcf7a643aaed9736de3f38be6a92b8cae16d7b1fc431a83be25bc3
|
4
|
+
data.tar.gz: a174cd611d997703929b1bde0ae7ca206494e0b0553eef05270b86b06786f146
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2eea75844623c3c2c4f5a9b0321dfb948329d55f97614dc3d009fde960d4a1bf219a0c93c7488f82f248b1b0ab3ab53ce55536aa6bb42bb4cbcc39ad98cbd4ef
|
7
|
+
data.tar.gz: aee3a1a35345ee81b0a7b435eb7170f16d989ed16d768badd2efeee2a101edf8b1e3aa1cf60155e651bd7a7737a8cacda546feb429dbfd61c7791f3d35a060d5
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
+
## [1.0.0-beta21] - 2019-08-08
|
9
|
+
- Handle Phobos `persistent_connections` setting in handling buffer overflows
|
10
|
+
|
8
11
|
## [1.0.0-beta20] - 2019-08-07
|
9
12
|
- Catch buffer overflows when producing via the DB producer and split the
|
10
13
|
batch up.
|
data/Gemfile.lock
CHANGED
data/lib/deimos/version.rb
CHANGED
@@ -60,6 +60,10 @@ each_db_config(Deimos::Utils::DbProducer) do
|
|
60
60
|
end
|
61
61
|
|
62
62
|
it 'should split the batch size on buffer overflow' do
|
63
|
+
class_producer = double(Phobos::Producer::ClassMethods::PublicAPI, # rubocop:disable RSpec/VerifiedDoubles
|
64
|
+
sync_producer_shutdown: nil)
|
65
|
+
allow(producer.class).to receive(:producer).and_return(class_producer)
|
66
|
+
expect(class_producer).to receive(:sync_producer_shutdown).twice
|
63
67
|
count = 0
|
64
68
|
allow(phobos_producer).to receive(:publish_list) do
|
65
69
|
count += 1
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deimos-kafka
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.pre.
|
4
|
+
version: 1.0.0.pre.beta21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Orner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avro-patches
|