evt-consumer 2.2.1.0 → 2.3.0.0

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: 7649d0a2b5a09c526df2dfa95cc444d0a0dca2feedd79e760a8911a79c8142e7
4
- data.tar.gz: 114bc7cc0fa87601299847b87f0d123b830a0449a3ea63b3e124640d5977f12f
3
+ metadata.gz: 93275cd1c618ed75c10cccc91aa7e5c8a6b0f3cca8afceef0d7d241d4820edef
4
+ data.tar.gz: 833c710b283472d05591f52f1c78abe8e19aca73dd519c141956294d3696757a
5
5
  SHA512:
6
- metadata.gz: a2f6dce7182bb03ec8e1baca18d7bb7184b493b2ef1a94d7132e4ac69a8a81fb28e3f213952bca3ebe973aa7c3a4a2dc2a858362e4faef0df82ef072ff390088
7
- data.tar.gz: 8d0df31e833932ad736a62e39381d5c1152c40dbd7b4cbb04f01146ceb9b782f62d0d55779be438433fa40eddc186e57ddaeefda0eb9be464a981b6b7aaf4c1e
6
+ metadata.gz: 74baf13ab8a47615e7eb4d5de5e5c5064f53ce9b5506b171becbf145cc802b70ce3641e1dab38bbc8d25f5e17ad73271046e14f4f786441206717795900c42b5
7
+ data.tar.gz: 0752efbcb2193628bf5a0456c38ac8d3c4005e7e3fd904b76a147a80051b4f5300eaae27c4380663192334eb0b2854331ee5046754c45785ee3262938618d3e5
@@ -15,7 +15,7 @@ module Consumer
15
15
  attr_accessor :failed_message
16
16
 
17
17
  handler Handle::Example
18
- handler Handle::RaiseError
18
+ handler Handle::RaiseError::Example
19
19
 
20
20
  def error_raised(error, message)
21
21
  self.handled_error = error
@@ -22,7 +22,7 @@ module Consumer
22
22
  instance
23
23
  end
24
24
 
25
- def stream_name
25
+ def category
26
26
  Category.example
27
27
  end
28
28
 
@@ -46,7 +46,7 @@ module Consumer
46
46
  end
47
47
 
48
48
  handle :resupply do
49
- logger.trace { "Resupplying (Stream: #{get.stream_name}, Position: #{position})" }
49
+ logger.trace { "Resupplying (Category: #{get.category}, Position: #{position})" }
50
50
 
51
51
  batch = poll.() do
52
52
  get.(position)
@@ -59,7 +59,7 @@ module Consumer
59
59
  else
60
60
  self.next_batch = batch
61
61
 
62
- logger.debug { "Resupplied (Stream: #{get.stream_name}, Position: #{position}, Batch Size: #{batch.count})" }
62
+ logger.debug { "Resupplied (Category: #{get.category}, Position: #{position}, Batch Size: #{batch.count})" }
63
63
  end
64
64
  end
65
65
 
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: 2.2.1.0
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: 2020-05-20 00:00:00.000000000 Z
11
+ date: 2020-06-01 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
@@ -1 +0,0 @@
1
- lib/consumer/home/ntl/Projects/consumer-postgres/lib/consumer/postgres
@@ -1 +0,0 @@
1
- lib/consumer/home/ntl/Projects/consumer-postgres/lib/consumer/postgres.rb