deimos-ruby 1.4.0.pre.beta4 → 1.4.0.pre.beta5
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 +2 -2
- data/docs/CONFIGURATION.md +6 -6
- data/lib/deimos/config/configuration.rb +1 -1
- data/lib/deimos/version.rb +1 -1
- 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: 53e87736881101e91b0fc1004c8a25d935ee9bd89d17c820c664f811d49a99fe
|
4
|
+
data.tar.gz: ecad569803023bf9d1145ccd09cea5e34610a69f521b3ae7a2291e7ad93333db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f08f51ceed90aae81988abd32a18a803b42f643d70e50b05491d1dab2842b6387cd1ea242f632fa57d157ebe63c52803d381fee7b1dfc4de61d9934d61520c7
|
7
|
+
data.tar.gz: a659b85a2a5486217fc190ef58fbf79ba9dfd2970ff20e6737d7154d5519f8d6c85008754336850b0061c15e9406571ffc01f91dc6e81620361f7a439a110f73
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
7
7
|
|
8
8
|
## UNRELEASED
|
9
9
|
|
10
|
+
# [1.4.0-beta5] - 2019-12-16
|
11
|
+
- Added default for max_bytes_per_partition.
|
12
|
+
|
10
13
|
# [1.4.0-beta4] - 2019-11-26
|
11
14
|
- Added `define_settings` to define settings without invoking callbacks.
|
12
15
|
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
deimos-ruby (1.4.0.pre.
|
4
|
+
deimos-ruby (1.4.0.pre.beta5)
|
5
5
|
avro-patches (~> 0.3)
|
6
6
|
avro_turf (~> 0.8)
|
7
7
|
phobos (~> 1.8.2.pre.beta2)
|
@@ -41,7 +41,7 @@ GEM
|
|
41
41
|
diff-lcs (1.3)
|
42
42
|
digest-crc (0.4.1)
|
43
43
|
dogstatsd-ruby (4.2.0)
|
44
|
-
excon (0.
|
44
|
+
excon (0.71.0)
|
45
45
|
exponential-backoff (0.0.4)
|
46
46
|
ffi (1.11.1)
|
47
47
|
formatador (0.2.5)
|
data/docs/CONFIGURATION.md
CHANGED
@@ -36,7 +36,7 @@ end
|
|
36
36
|
```
|
37
37
|
|
38
38
|
You can have as many `producer` blocks as you like to define more producers.
|
39
|
-
|
39
|
+
Config name|Default|Description
|
40
40
|
-----------|-------|-----------
|
41
41
|
class_name|nil|Class name of the producer class (subclass of `Deimos::Producer`.)
|
42
42
|
topic|nil|Topic to produce to.
|
@@ -66,7 +66,7 @@ end
|
|
66
66
|
In addition to the producer configs, you can define a number of overrides
|
67
67
|
to the basic consumer configuration for each consumer. This is analogous to
|
68
68
|
the `listener` config in `phobos.yml`.
|
69
|
-
|
69
|
+
Config name|Default|Description
|
70
70
|
-----------|-------|-----------
|
71
71
|
class_name|nil|Class name of the consumer class (subclass of `Deimos::Consumer`.)
|
72
72
|
topic|nil|Topic to produce to.
|
@@ -105,7 +105,7 @@ kafka.ssl.client_cert_key|nil|A PEM encoded client cert key to use with an SSL c
|
|
105
105
|
These are top-level configuration settings, but they can be overridden
|
106
106
|
by individual consumers.
|
107
107
|
|
108
|
-
|
108
|
+
Config name|Default|Description
|
109
109
|
-----------|-------|-----------
|
110
110
|
consumers.session_timeout|300|Number of seconds after which, if a client hasn't contacted the Kafka cluster, it will be kicked out of the group.
|
111
111
|
consumers.offset_commit_interval|10|Interval between offset commits, in seconds.
|
@@ -117,7 +117,7 @@ consumers.report_lag|false|Whether to send the `consumer_lag` metric. This requi
|
|
117
117
|
consumers.fatal_error|`proc { false }`|Block taking an exception, payload and metadata and returning true if this should be considered a fatal error and false otherwise. E.g. you can use this to always fail if the database is available. Not needed if reraise_errors is set to true.
|
118
118
|
|
119
119
|
## Producer Configuration
|
120
|
-
|
120
|
+
Config name|Default|Description
|
121
121
|
-----------|-------|-----------
|
122
122
|
producers.ack_timeout|5|Number of seconds a broker can wait for replicas to acknowledge a write before responding with a timeout.
|
123
123
|
producers.required_acks|1|Number of replicas that must acknowledge a write, or `:all` if all in-sync replicas must acknowledge.
|
@@ -137,13 +137,13 @@ producers.disabled|false|Disable all actual message producing. Generally more us
|
|
137
137
|
producers.backend|`:kafka_async`|Currently can be set to `:db`, `:kafka`, or `:kafka_async`. If using Kafka directly, a good pattern is to set to async in your user-facing app, and sync in your consumers or delayed workers.
|
138
138
|
|
139
139
|
## Schema Configuration
|
140
|
-
|
140
|
+
Config name|Default|Description
|
141
141
|
-----------|-------|-----------
|
142
142
|
schema.registry_url|`http://localhost:8081`|URL of the Confluent schema registry.
|
143
143
|
schema.path|nil|Local path to find your schemas.
|
144
144
|
|
145
145
|
## Database Producer Configuration
|
146
|
-
|
146
|
+
Config name|Default|Description
|
147
147
|
-----------|-------|-----------
|
148
148
|
db_producer.logger|`Deimos.config.logger`|Logger to use inside the DB producer.
|
149
149
|
db_producer.log_topics|`[]`|List of topics to print full messages for, or `:all` to print all topics. This can introduce slowdown since it needs to decode each message using the schema registry.
|
@@ -322,7 +322,7 @@ module Deimos
|
|
322
322
|
setting :group_id
|
323
323
|
setting :max_concurrency
|
324
324
|
setting :start_from_beginning
|
325
|
-
setting :max_bytes_per_partition
|
325
|
+
setting :max_bytes_per_partition, 500.kilobytes
|
326
326
|
setting :min_bytes
|
327
327
|
setting :max_wait_time
|
328
328
|
setting :force_encoding
|
data/lib/deimos/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deimos-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.0.pre.
|
4
|
+
version: 1.4.0.pre.beta5
|
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-
|
11
|
+
date: 2019-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avro-patches
|