evt-consumer-postgres 2.3.1.0 → 2.3.2.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: 2cc5ecbb73d89d8374981ab62efe89cee7d5a6d9a8431dd2700ed880fce96806
|
4
|
+
data.tar.gz: bf8dbfc0bb5657e95f87ca26b823cc35c495ab85a506a2b53588715a0b607df3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f59a010a570efe5b51da63f28054a6a6447fc5b64203e053e5ce02d5e278c656d334be2425f64212556d41737ed7b2568c471f508cad731fe1496ad52386d32
|
7
|
+
data.tar.gz: a8e67c94d15340b3da9424e822cbd65e7b19ca6b6e6c2fac0ea8f90852c5769f2001bfaac49286fb0b4b9c0494c03604d1556b5980fe5a8c9fdb4e261e203f83
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module Consumer
|
2
2
|
module Postgres
|
3
3
|
module Controls
|
4
|
-
StreamName = ::
|
4
|
+
StreamName = Messaging::Controls::StreamName
|
5
5
|
|
6
6
|
module StreamName
|
7
7
|
module Position
|
@@ -11,7 +11,7 @@ module Consumer
|
|
11
11
|
|
12
12
|
types << 'position'
|
13
13
|
|
14
|
-
StreamName.example(
|
14
|
+
Messaging::Controls::StreamName.example(
|
15
15
|
id: id,
|
16
16
|
category: category,
|
17
17
|
types: types
|
@@ -39,14 +39,23 @@ module Consumer
|
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
|
-
|
42
|
+
# TODO: Remove deprecated settings argument that has been replaced with session_settings when no longer in use (Nathan Ladd, Mon Nov 30 2020)
|
43
|
+
def configure(session_settings: nil, batch_size: nil, correlation: nil, group_member: nil, group_size: nil, condition: nil, settings: nil)
|
43
44
|
self.batch_size = batch_size
|
44
45
|
self.correlation = correlation
|
45
46
|
self.group_member = group_member
|
46
47
|
self.group_size = group_size
|
47
48
|
self.condition = condition
|
48
49
|
|
49
|
-
|
50
|
+
session_settings ||= settings
|
51
|
+
|
52
|
+
if not session_settings.nil?
|
53
|
+
if not session_settings.is_a?(::Settings)
|
54
|
+
session_settings = ::Settings.build(session_settings)
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
MessageStore::Postgres::Session.configure(self, settings: session_settings)
|
50
59
|
session = self.session
|
51
60
|
|
52
61
|
get_session = MessageStore::Postgres::Session.build(settings: settings)
|
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.3.
|
4
|
+
version: 2.3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Eventide Project
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: evt-consumer
|
@@ -79,7 +79,7 @@ homepage: https://github.com/eventide-project/consumer-postgres
|
|
79
79
|
licenses:
|
80
80
|
- MIT
|
81
81
|
metadata: {}
|
82
|
-
post_install_message:
|
82
|
+
post_install_message:
|
83
83
|
rdoc_options: []
|
84
84
|
require_paths:
|
85
85
|
- lib
|
@@ -95,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
95
|
version: '0'
|
96
96
|
requirements: []
|
97
97
|
rubygems_version: 3.1.2
|
98
|
-
signing_key:
|
98
|
+
signing_key:
|
99
99
|
specification_version: 4
|
100
100
|
summary: Postgres implementation of continuous subscription to a category and message
|
101
101
|
dispatching to handlers
|