evt-consumer-postgres 2.2.0.0 → 2.3.0.0
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e0b58c177efbf2710eaa9b33a6dfe06c370be2ebe1db9b777e2c3d99e3d1e43
|
4
|
+
data.tar.gz: 3b3c33e16e641a4c53992c722847268a1191cb7834d88eecd1df80fb4e256e23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a44ce3d957f49623d19eeec08aaa26aac7e0e911787eaa29b774caa80773ae843b1ca5ac45d32878e1240b638b4c89fd7db347785001bf420566fcbd920b9e60
|
7
|
+
data.tar.gz: 336e31162e42811c34a6a82b76eb4992051376b01e37014e22f7eafef2d99529846b3fcf7654713f7c4aef352e9f6a0262306d87422f99e380cf92e04201531a
|
data/lib/consumer/postgres.rb
CHANGED
@@ -21,6 +21,10 @@ module Consumer
|
|
21
21
|
logger.info(tag: :*) { "Correlation: #{correlation}" }
|
22
22
|
end
|
23
23
|
|
24
|
+
unless identifier.nil?
|
25
|
+
logger.info(tag: :*) { "Identifier: #{identifier}" }
|
26
|
+
end
|
27
|
+
|
24
28
|
unless group_member.nil? && group_size.nil?
|
25
29
|
logger.info(tag: :*) { "Group Member: #{group_member.inspect}, Group Size: #{group_size.inspect}" }
|
26
30
|
end
|
@@ -28,6 +32,18 @@ module Consumer
|
|
28
32
|
unless condition.nil?
|
29
33
|
logger.info(tag: :*) { "Condition: #{condition}" }
|
30
34
|
end
|
35
|
+
|
36
|
+
unless poll_interval_milliseconds.nil?
|
37
|
+
logger.info(tag: :*) { "Poll Interval Milliseconds: #{poll_interval_milliseconds}" }
|
38
|
+
end
|
39
|
+
|
40
|
+
unless position_update_interval.nil?
|
41
|
+
logger.info(tag: :*) { "Position Update Interval: #{position_update_interval}" }
|
42
|
+
end
|
43
|
+
|
44
|
+
if identifier.nil? && !group_member.nil? && !group_size.nil?
|
45
|
+
raise Identifier::Error, 'Identifier must not be omitted when the consumer is a member of a group'
|
46
|
+
end
|
31
47
|
end
|
32
48
|
|
33
49
|
def configure(batch_size: nil, settings: nil, correlation: nil, group_member: nil, group_size: nil, condition: nil)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evt-consumer-postgres
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Eventide Project
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: evt-consumer
|
@@ -70,6 +70,7 @@ files:
|
|
70
70
|
- lib/consumer/postgres/controls/position/store/recorded.rb
|
71
71
|
- lib/consumer/postgres/controls/position/stream/write.rb
|
72
72
|
- lib/consumer/postgres/controls/stream_name.rb
|
73
|
+
- lib/consumer/postgres/identifier.rb
|
73
74
|
- lib/consumer/postgres/position_store.rb
|
74
75
|
- lib/consumer/postgres/position_store/recorded.rb
|
75
76
|
- lib/consumer/postgres/position_store/stream_name.rb
|
@@ -93,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
94
|
- !ruby/object:Gem::Version
|
94
95
|
version: '0'
|
95
96
|
requirements: []
|
96
|
-
rubygems_version: 3.
|
97
|
+
rubygems_version: 3.1.2
|
97
98
|
signing_key:
|
98
99
|
specification_version: 4
|
99
100
|
summary: Postgres implementation of continuous subscription to a category and message
|