evt-consumer 1.0.1.0 → 1.0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 30b174fe63b76c4a7734f54b792c42bdfbb4c32c3062c515908b22b295179daa
4
- data.tar.gz: 23921c803e016ec4cca14b1d62e00d73583cb255c7bd14a76c064f5ef8ddb6fc
3
+ metadata.gz: 404efa27847f6aca320849476c8d941d9102ac1389b39bb9cd08276765965f0a
4
+ data.tar.gz: c76eae7c7688327d5b40da8ad995b900ddb79278e934cff388e4815d63313c7a
5
5
  SHA512:
6
- metadata.gz: 0e8d66c4740ed194d5206ab5199c024f38e6ac65390330f93c1265911606bbc917195582b83b8b5dcfc806c932a62d7de08b3cce2e4a930c82731b5156dec9e4
7
- data.tar.gz: 910507b28460bcd6fd885270c3f250447d59904b0df1941c1302fec54490dfc860292d4a0d744dbfb56b4df69c5e3f0d30e3225cb7088d680807216dcb580db6
6
+ metadata.gz: 2a6d656b92c8ed27ee8fc1ade305677e83f4495388f5be08a18c48ca4aebe44799c4d0a311a9f29df5129b43c3a132502395ab3da30b4d5930ba8ed9dfe901ea
7
+ data.tar.gz: cd5958ddab60a55d8e09a1dc66309fe888b77e4fade7bc394d81f3220f83c2ef1139b4ebb26feb0dfa0f02d79c34cd664aee9be8d21c3598a9902314bc6f07b9
@@ -64,6 +64,12 @@ module Consumer
64
64
  end
65
65
 
66
66
  def start(&probe)
67
+ logger.info(tag: :*) { "Starting consumer: #{self.class.name} (Stream: #{stream_name}, Identifier: #{identifier || '(none)'}, Position: #{subscription.position})" }
68
+
69
+ self.class.handler_registry.each do |handler|
70
+ logger.info(tag: :*) { "Handler: #{handler.name} (Stream Name: #{stream_name}, Consumer: #{self.class.name})" }
71
+ end
72
+
67
73
  _, subscription_thread = ::Actor::Start.(subscription)
68
74
 
69
75
  actor_address, actor_thread = Actor.start(self, subscription, include: :thread)
@@ -74,7 +80,7 @@ module Consumer
74
80
  probe.(self, [actor_thread, subscription_thread], [actor_address, subscription_address])
75
81
  end
76
82
 
77
- logger.info(tag: :*) { "Consumer started (Stream: #{stream_name}, Identifier: #{identifier || '(none)'}, Position: #{subscription.position})" }
83
+ logger.info(tag: :*) { "Started consumer: #{self.class.name} (Stream: #{stream_name}, Identifier: #{identifier || '(none)'}, Position: #{subscription.position})" }
78
84
 
79
85
  AsyncInvocation::Incorrect
80
86
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-consumer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1.0
4
+ version: 1.0.1.1
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: 2018-11-16 00:00:00.000000000 Z
11
+ date: 2018-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ntl-actor
@@ -132,8 +132,6 @@ files:
132
132
  - lib/consumer/position_store.rb
133
133
  - lib/consumer/position_store/substitute.rb
134
134
  - lib/consumer/position_store/telemetry.rb
135
- - lib/consumer/postgres
136
- - lib/consumer/postgres.rb
137
135
  - lib/consumer/subscription.rb
138
136
  - lib/consumer/subscription/defaults.rb
139
137
  - lib/consumer/subscription/get_batch.rb
@@ -158,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
156
  version: '0'
159
157
  requirements: []
160
158
  rubyforge_project:
161
- rubygems_version: 2.7.6
159
+ rubygems_version: 2.7.3
162
160
  signing_key:
163
161
  specification_version: 4
164
162
  summary: Continuous subscription to a stream and message dispatching to handlers
@@ -1 +0,0 @@
1
- lib/consumer/home/ntl/Projects/eventide-project/consumer-postgres/lib/consumer/postgres
@@ -1 +0,0 @@
1
- lib/consumer/home/ntl/Projects/eventide-project/consumer-postgres/lib/consumer/postgres.rb