pg_eventstore 1.11.0 → 1.13.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 +4 -4
- data/CHANGELOG.md +9 -0
- data/docs/reading_events.md +98 -0
- data/lib/pg_eventstore/cli/commands/base_command.rb +2 -0
- data/lib/pg_eventstore/cli/commands/callback_handlers/start_cmd_handlers.rb +1 -0
- data/lib/pg_eventstore/cli/commands/help_command.rb +1 -0
- data/lib/pg_eventstore/cli/commands/start_subscriptions_command.rb +3 -1
- data/lib/pg_eventstore/cli/commands/stop_subscriptions_command.rb +1 -0
- data/lib/pg_eventstore/cli/exit_codes.rb +1 -0
- data/lib/pg_eventstore/cli/parser_options/base_options.rb +1 -0
- data/lib/pg_eventstore/cli/parser_options/default_options.rb +1 -0
- data/lib/pg_eventstore/cli/parser_options/metadata.rb +1 -0
- data/lib/pg_eventstore/cli/parser_options/subscription_options.rb +1 -0
- data/lib/pg_eventstore/cli/try_to_delete_subscriptions_set.rb +2 -1
- data/lib/pg_eventstore/cli/try_unlock_subscriptions_set.rb +1 -0
- data/lib/pg_eventstore/cli/wait_for_subscriptions_set_shutdown.rb +1 -0
- data/lib/pg_eventstore/client.rb +22 -4
- data/lib/pg_eventstore/commands/all_stream_read_grouped.rb +69 -0
- data/lib/pg_eventstore/commands/regular_stream_read_grouped.rb +31 -0
- data/lib/pg_eventstore/commands.rb +2 -0
- data/lib/pg_eventstore/connection.rb +8 -3
- data/lib/pg_eventstore/extensions/callback_handlers_extension.rb +1 -0
- data/lib/pg_eventstore/partition.rb +23 -0
- data/lib/pg_eventstore/pg_connection.rb +1 -0
- data/lib/pg_eventstore/queries/event_queries.rb +18 -0
- data/lib/pg_eventstore/queries/partition_queries.rb +21 -0
- data/lib/pg_eventstore/queries.rb +2 -0
- data/lib/pg_eventstore/query_builders/basic_filtering.rb +27 -0
- data/lib/pg_eventstore/query_builders/events_filtering.rb +47 -31
- data/lib/pg_eventstore/query_builders/partitions_filtering.rb +83 -0
- data/lib/pg_eventstore/sql_builder.rb +10 -0
- data/lib/pg_eventstore/subscriptions/basic_runner.rb +122 -35
- data/lib/pg_eventstore/subscriptions/callback_handlers/commands_handler_handlers.rb +1 -14
- data/lib/pg_eventstore/subscriptions/callback_handlers/events_processor_handlers.rb +4 -3
- data/lib/pg_eventstore/subscriptions/callback_handlers/subscription_feeder_handlers.rb +1 -14
- data/lib/pg_eventstore/subscriptions/callback_handlers/subscription_runner_handlers.rb +1 -19
- data/lib/pg_eventstore/subscriptions/command_handlers/subscription_feeder_commands.rb +1 -0
- data/lib/pg_eventstore/subscriptions/command_handlers/subscription_runners_commands.rb +1 -0
- data/lib/pg_eventstore/subscriptions/commands_handler.rb +5 -8
- data/lib/pg_eventstore/subscriptions/events_processor.rb +7 -2
- data/lib/pg_eventstore/subscriptions/extensions/base_command_extension.rb +1 -0
- data/lib/pg_eventstore/subscriptions/extensions/command_class_lookup_extension.rb +1 -0
- data/lib/pg_eventstore/subscriptions/queries/subscription_queries.rb +1 -9
- data/lib/pg_eventstore/subscriptions/runner_recovery_strategies/restore_connection.rb +44 -0
- data/lib/pg_eventstore/subscriptions/runner_recovery_strategies/restore_subscription_feeder.rb +27 -0
- data/lib/pg_eventstore/subscriptions/runner_recovery_strategies/restore_subscription_runner.rb +34 -0
- data/lib/pg_eventstore/subscriptions/runner_recovery_strategies.rb +5 -0
- data/lib/pg_eventstore/subscriptions/runner_recovery_strategy.rb +21 -0
- data/lib/pg_eventstore/subscriptions/subscription_feeder.rb +18 -5
- data/lib/pg_eventstore/subscriptions/subscription_runner.rb +1 -13
- data/lib/pg_eventstore/subscriptions/subscriptions_lifecycle.rb +1 -0
- data/lib/pg_eventstore/subscriptions/subscriptions_manager.rb +20 -3
- data/lib/pg_eventstore/subscriptions/subscriptions_set_lifecycle.rb +1 -0
- data/lib/pg_eventstore/utils.rb +5 -4
- data/lib/pg_eventstore/version.rb +1 -1
- data/lib/pg_eventstore/web/application.rb +5 -3
- data/lib/pg_eventstore.rb +3 -1
- data/sig/pg_eventstore/client.rbs +2 -0
- data/sig/pg_eventstore/commands/all_stream_read_grouped.rbs +16 -0
- data/sig/pg_eventstore/commands/regular_stream_read_grouped.rbs +8 -0
- data/sig/pg_eventstore/connection.rbs +2 -0
- data/sig/pg_eventstore/partition.rbs +15 -0
- data/sig/pg_eventstore/queries/event_queries.rbs +2 -0
- data/sig/pg_eventstore/queries/partition_queries.rbs +6 -0
- data/sig/pg_eventstore/query_builders/basic_filtering.rbs +15 -0
- data/sig/pg_eventstore/query_builders/events_filtering_query.rbs +17 -17
- data/sig/pg_eventstore/query_builders/partitions_filtering.rbs +21 -0
- data/sig/pg_eventstore/sql_builder.rbs +1 -1
- data/sig/pg_eventstore/subscriptions/basic_runner.rbs +26 -10
- data/sig/pg_eventstore/subscriptions/callback_handlers/commands_handler_handlers.rbs +5 -5
- data/sig/pg_eventstore/subscriptions/callback_handlers/subscription_feeder_handlers.rbs +1 -3
- data/sig/pg_eventstore/subscriptions/callback_handlers/subscription_runner_handlers.rbs +0 -4
- data/sig/pg_eventstore/subscriptions/commands_handler.rbs +8 -11
- data/sig/pg_eventstore/subscriptions/events_processor.rbs +5 -17
- data/sig/pg_eventstore/subscriptions/runner_recovery_strategies/restore_connection.rbs +18 -0
- data/sig/pg_eventstore/subscriptions/runner_recovery_strategies/restore_subscription_feeder.rbs +11 -0
- data/sig/pg_eventstore/subscriptions/runner_recovery_strategies/restore_subscription_runner.rbs +17 -0
- data/sig/pg_eventstore/subscriptions/runner_recovery_strategy.rbs +7 -0
- data/sig/pg_eventstore/subscriptions/subscription_feeder.rbs +6 -8
- data/sig/pg_eventstore/subscriptions/subscription_runner.rbs +6 -35
- data/sig/pg_eventstore/subscriptions/subscriptions_manager.rbs +8 -0
- metadata +22 -6
@@ -1,12 +1,25 @@
|
|
1
1
|
module PgEventstore
|
2
2
|
class BasicRunner
|
3
|
-
include
|
3
|
+
include Extensions::CallbacksExtension
|
4
4
|
extend Forwardable
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
@async_shutdown_time: Integer | Float
|
7
|
+
@mutex: Thread::Mutex
|
8
|
+
@recovery_strategies: Array[RunnerRecoveryStrategy]
|
9
|
+
@run_interval: Integer | Float
|
10
|
+
@runner: Thread?
|
11
|
+
|
12
|
+
@state: RunnerState
|
13
|
+
|
14
|
+
%a{rbs:test:skip} def initialize: (
|
15
|
+
run_interval: (Integer | Float),
|
16
|
+
async_shutdown_time: (Integer | Float),
|
17
|
+
recovery_strategies: Array[RunnerRecoveryStrategy]
|
18
|
+
) -> void
|
19
|
+
|
20
|
+
def async_recover: (StandardError error, RunnerRecoveryStrategy strategy, Integer current_runner_id)-> Thread
|
21
|
+
|
22
|
+
def restore: -> untyped
|
10
23
|
|
11
24
|
def start: () -> self
|
12
25
|
|
@@ -14,14 +27,16 @@ module PgEventstore
|
|
14
27
|
|
15
28
|
def stop_async: () -> self
|
16
29
|
|
17
|
-
def restore: () -> self
|
18
|
-
|
19
30
|
def wait_for_finish: () -> self
|
20
31
|
|
21
32
|
def state: () -> String
|
22
33
|
|
23
34
|
# _@param_ `state`
|
24
|
-
def within_state: (Symbol state) { () -> untyped } -> untyped
|
35
|
+
def within_state: (Symbol state) { () -> untyped } -> untyped?
|
36
|
+
|
37
|
+
private
|
38
|
+
|
39
|
+
def suitable_strategy: (StandardError error)-> RunnerRecoveryStrategy?
|
25
40
|
|
26
41
|
def synchronize: () { () -> untyped } -> untyped
|
27
42
|
|
@@ -29,9 +44,10 @@ module PgEventstore
|
|
29
44
|
|
30
45
|
def delegate_change_state_cbx: () -> void
|
31
46
|
|
32
|
-
# _@param_ `state`
|
33
47
|
def change_state: (String state) -> void
|
34
48
|
|
35
|
-
def
|
49
|
+
def recoverable: { () -> untyped } -> untyped
|
50
|
+
|
51
|
+
def init_recovery_ripper: (Integer current_runner_id) -> untyped
|
36
52
|
end
|
37
53
|
end
|
@@ -1,10 +1,10 @@
|
|
1
1
|
module PgEventstore
|
2
2
|
class CommandsHandlerHandlers
|
3
|
-
def self.process_feeder_commands: (Symbol config_name,
|
3
|
+
def self.process_feeder_commands: (Symbol config_name, SubscriptionFeeder subscription_feeder) -> void
|
4
4
|
|
5
|
-
def self.process_runners_commands: (
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
def self.process_runners_commands: (
|
6
|
+
Symbol config_name, Array[SubscriptionRunner] runners,
|
7
|
+
SubscriptionFeeder subscription_feeder
|
8
|
+
) -> void
|
9
9
|
end
|
10
10
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module PgEventstore
|
2
2
|
class SubscriptionFeederHandlers
|
3
|
-
include
|
3
|
+
include Extensions::CallbackHandlersExtension
|
4
4
|
|
5
5
|
def self.update_subscriptions_set_state: (PgEventstore::SubscriptionsSetLifecycle subscriptions_set_lifecycle, String state) -> void
|
6
6
|
|
@@ -12,8 +12,6 @@ module PgEventstore
|
|
12
12
|
|
13
13
|
def self.persist_error_info: (PgEventstore::SubscriptionsSetLifecycle subscriptions_set_lifecycle, StandardError error) -> void
|
14
14
|
|
15
|
-
def self.restart_runner: (PgEventstore::SubscriptionsSetLifecycle subscriptions_set_lifecycle, PgEventstore::BasicRunner basic_runner, StandardError _error) -> void
|
16
|
-
|
17
15
|
def self.ping_subscriptions_set: (PgEventstore::SubscriptionsSetLifecycle subscriptions_set_lifecycle) -> void
|
18
16
|
|
19
17
|
def self.feed_runners: (PgEventstore::SubscriptionsLifecycle subscriptions_lifecycle, Symbol config_name) -> void
|
@@ -6,10 +6,6 @@ module PgEventstore
|
|
6
6
|
|
7
7
|
def self.update_subscription_error: (PgEventstore::Subscription subscription, PgEventstore::WrappedException error) -> void
|
8
8
|
|
9
|
-
def self.restart_events_processor: (PgEventstore::Subscription subscription, _RestartTerminator? restart_terminator,
|
10
|
-
_FailedSubscriptionNotifier? failed_subscription_notifier, PgEventstore::EventsProcessor events_processor,
|
11
|
-
PgEventstore::WrappedException error) -> void
|
12
|
-
|
13
9
|
def self.update_subscription_chunk_stats: (PgEventstore::Subscription subscription, Integer global_position) -> void
|
14
10
|
|
15
11
|
def self.update_subscription_restarts: (PgEventstore::Subscription subscription) -> void
|
@@ -1,25 +1,22 @@
|
|
1
1
|
module PgEventstore
|
2
2
|
class CommandsHandler
|
3
3
|
extend Forwardable
|
4
|
-
|
4
|
+
|
5
5
|
PULL_INTERVAL: Integer
|
6
6
|
|
7
|
+
@basic_runner: BasicRunner
|
8
|
+
@config_name: Symbol
|
9
|
+
|
10
|
+
@runners: ::Array[SubscriptionRunner]
|
11
|
+
@subscription_feeder: SubscriptionFeeder
|
12
|
+
|
7
13
|
# _@param_ `config_name`
|
8
14
|
#
|
9
15
|
# _@param_ `subscription_feeder`
|
10
16
|
#
|
11
17
|
# _@param_ `runners`
|
12
|
-
def initialize: (Symbol config_name,
|
18
|
+
def initialize: (Symbol config_name, SubscriptionFeeder subscription_feeder, ::Array[SubscriptionRunner] runners) -> void
|
13
19
|
|
14
20
|
def attach_runner_callbacks: () -> untyped
|
15
|
-
|
16
|
-
def process_async: () -> untyped
|
17
|
-
|
18
|
-
# _@param_ `error`
|
19
|
-
def after_runner_died: (StandardError error) -> void
|
20
|
-
|
21
|
-
def subscription_feeder_commands: () -> PgEventstore::CommandHandlers::SubscriptionFeederCommands
|
22
|
-
|
23
|
-
def subscription_runners_commands: () -> PgEventstore::CommandHandlers::SubscriptionRunnersCommands
|
24
21
|
end
|
25
22
|
end
|
@@ -3,32 +3,20 @@ module PgEventstore
|
|
3
3
|
include PgEventstore::Extensions::CallbacksExtension
|
4
4
|
extend Forwardable
|
5
5
|
|
6
|
-
|
7
|
-
|
6
|
+
%a{rbs:test:skip} def initialize: (
|
7
|
+
_RawEventHandler handler,
|
8
|
+
graceful_shutdown_timeout: Float | Integer,
|
9
|
+
?recovery_strategies: Array[RunnerRecoveryStrategy]
|
10
|
+
) -> void
|
8
11
|
|
9
|
-
# _@param_ `raw_events`
|
10
12
|
def feed: (::Array[::Hash[untyped, untyped]] raw_events) -> void
|
11
13
|
|
12
14
|
def events_left_in_chunk: () -> Integer
|
13
15
|
|
14
16
|
def clear_chunk: () -> void
|
15
17
|
|
16
|
-
# _@param_ `raw_event`
|
17
18
|
def process_event: (::Hash[untyped, untyped] raw_event) -> void
|
18
19
|
|
19
20
|
def attach_runner_callbacks: () -> void
|
20
|
-
|
21
|
-
def process_async: () -> void
|
22
|
-
|
23
|
-
def after_runner_died: (StandardError error) -> void
|
24
|
-
|
25
|
-
def before_runner_restored: () -> void
|
26
|
-
|
27
|
-
def change_state: (*untyped args, **untyped kwargs) -> void
|
28
|
-
|
29
|
-
# _@param_ `raw_event`
|
30
|
-
def global_position: (::Hash[untyped, untyped] raw_event) -> Integer
|
31
|
-
|
32
|
-
def define_callback: () -> void
|
33
21
|
end
|
34
22
|
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module PgEventstore
|
2
|
+
module RunnerRecoveryStrategies
|
3
|
+
class RestoreConnection
|
4
|
+
include RunnerRecoveryStrategy
|
5
|
+
|
6
|
+
EXCEPTIONS_TO_HANDLE: Array[StandardError]
|
7
|
+
TIME_BETWEEN_RETRIES: Integer
|
8
|
+
|
9
|
+
@config_name: Symbol
|
10
|
+
|
11
|
+
def initialize: (Symbol config_name)-> untyped
|
12
|
+
|
13
|
+
private
|
14
|
+
|
15
|
+
def connection: -> Connection
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
data/sig/pg_eventstore/subscriptions/runner_recovery_strategies/restore_subscription_feeder.rbs
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
module PgEventstore
|
2
|
+
module RunnerRecoveryStrategies
|
3
|
+
class RestoreSubscriptionFeeder
|
4
|
+
include RunnerRecoveryStrategy
|
5
|
+
|
6
|
+
@subscriptions_set_lifecycle: SubscriptionsSetLifecycle
|
7
|
+
|
8
|
+
def initialize: (subscriptions_set_lifecycle: SubscriptionsSetLifecycle)-> untyped
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
data/sig/pg_eventstore/subscriptions/runner_recovery_strategies/restore_subscription_runner.rbs
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
module PgEventstore
|
2
|
+
module RunnerRecoveryStrategies
|
3
|
+
class RestoreSubscriptionRunner
|
4
|
+
include RunnerRecoveryStrategy
|
5
|
+
|
6
|
+
@failed_subscription_notifier: _FailedSubscriptionNotifier?
|
7
|
+
@restart_terminator: _RestartTerminator?
|
8
|
+
@subscription: Subscription
|
9
|
+
|
10
|
+
def initialize: (
|
11
|
+
subscription: Subscription,
|
12
|
+
restart_terminator: _RestartTerminator?,
|
13
|
+
failed_subscription_notifier: _FailedSubscriptionNotifier?
|
14
|
+
)-> untyped
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -17,19 +17,17 @@ module PgEventstore
|
|
17
17
|
|
18
18
|
def id: () -> Integer?
|
19
19
|
|
20
|
-
# _@param_ `runner`
|
21
|
-
def add: (PgEventstore::SubscriptionRunner runner) -> PgEventstore::SubscriptionRunner
|
22
|
-
|
23
20
|
def start_all: () -> void
|
24
21
|
|
25
22
|
def stop_all: () -> void
|
26
23
|
|
27
|
-
def read_only_subscriptions: () -> ::Array[PgEventstore::Subscription]
|
28
|
-
|
29
|
-
def read_only_subscriptions_set: () -> PgEventstore::SubscriptionsSet?
|
30
|
-
|
31
24
|
def attach_runner_callbacks: () -> void
|
32
25
|
|
33
|
-
|
26
|
+
private
|
27
|
+
|
28
|
+
def recovery_strategies: (
|
29
|
+
Symbol config_name,
|
30
|
+
SubscriptionsSetLifecycle subscriptions_set_lifecycle
|
31
|
+
) -> Array[RunnerRecoveryStrategy]
|
34
32
|
end
|
35
33
|
end
|
@@ -5,19 +5,13 @@ module PgEventstore
|
|
5
5
|
MIN_EVENTS_PER_CHUNK: Integer
|
6
6
|
INITIAL_EVENTS_PER_CHUNK: Integer
|
7
7
|
|
8
|
-
#
|
9
|
-
|
10
|
-
|
11
|
-
#
|
12
|
-
# _@param_ `subscription`
|
13
|
-
#
|
14
|
-
# _@param_ `restart_terminator`
|
15
|
-
#
|
16
|
-
# _@param_ `failed_subscription_notifier`
|
8
|
+
# Returns the value of attribute subscription.
|
9
|
+
attr_reader subscription: Subscription
|
10
|
+
|
17
11
|
def initialize: (
|
18
|
-
stats:
|
19
|
-
events_processor:
|
20
|
-
subscription:
|
12
|
+
stats: SubscriptionHandlerPerformance,
|
13
|
+
events_processor: EventsProcessor,
|
14
|
+
subscription: Subscription,
|
21
15
|
?restart_terminator: _RestartTerminator?,
|
22
16
|
?failed_subscription_notifier: _FailedSubscriptionNotifier?
|
23
17
|
) -> void
|
@@ -31,28 +25,5 @@ module PgEventstore
|
|
31
25
|
def estimate_events_number: () -> Integer
|
32
26
|
|
33
27
|
def attach_callbacks: () -> void
|
34
|
-
|
35
|
-
# _@param_ `action`
|
36
|
-
def track_exec_time: (Proc action, *untyped args) -> void
|
37
|
-
|
38
|
-
# _@param_ `current_position`
|
39
|
-
def update_subscription_stats: (Integer current_position) -> void
|
40
|
-
|
41
|
-
# _@param_ `state`
|
42
|
-
def update_subscription_state: (String state) -> void
|
43
|
-
|
44
|
-
def update_subscription_restarts: () -> void
|
45
|
-
|
46
|
-
# _@param_ `error`
|
47
|
-
def update_subscription_error: (StandardError error) -> void
|
48
|
-
|
49
|
-
# _@param_ `global_position`
|
50
|
-
def update_subscription_chunk_stats: (Integer global_position) -> void
|
51
|
-
|
52
|
-
# _@param_ `_error`
|
53
|
-
def restart_subscription: (StandardError error) -> void
|
54
|
-
|
55
|
-
# Returns the value of attribute subscription.
|
56
|
-
attr_accessor subscription: PgEventstore::Subscription
|
57
28
|
end
|
58
29
|
end
|
@@ -74,5 +74,13 @@ module PgEventstore
|
|
74
74
|
|
75
75
|
# Returns the value of attribute config.
|
76
76
|
attr_accessor config: PgEventstore::Config
|
77
|
+
|
78
|
+
private
|
79
|
+
|
80
|
+
def recovery_strategies: (
|
81
|
+
Subscription subscription,
|
82
|
+
_RestartTerminator? restart_terminator,
|
83
|
+
_FailedSubscriptionNotifier? failed_subscription_notifier
|
84
|
+
) -> Array[RunnerRecoveryStrategy]
|
77
85
|
end
|
78
86
|
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg_eventstore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Dzyzenko
|
8
|
-
autorequire:
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: pg
|
@@ -116,6 +115,7 @@ files:
|
|
116
115
|
- lib/pg_eventstore/cli/wait_for_subscriptions_set_shutdown.rb
|
117
116
|
- lib/pg_eventstore/client.rb
|
118
117
|
- lib/pg_eventstore/commands.rb
|
118
|
+
- lib/pg_eventstore/commands/all_stream_read_grouped.rb
|
119
119
|
- lib/pg_eventstore/commands/append.rb
|
120
120
|
- lib/pg_eventstore/commands/delete_event.rb
|
121
121
|
- lib/pg_eventstore/commands/delete_stream.rb
|
@@ -124,6 +124,7 @@ files:
|
|
124
124
|
- lib/pg_eventstore/commands/link_to.rb
|
125
125
|
- lib/pg_eventstore/commands/multiple.rb
|
126
126
|
- lib/pg_eventstore/commands/read.rb
|
127
|
+
- lib/pg_eventstore/commands/regular_stream_read_grouped.rb
|
127
128
|
- lib/pg_eventstore/commands/regular_stream_read_paginated.rb
|
128
129
|
- lib/pg_eventstore/commands/system_stream_read_paginated.rb
|
129
130
|
- lib/pg_eventstore/config.rb
|
@@ -139,6 +140,7 @@ files:
|
|
139
140
|
- lib/pg_eventstore/extensions/using_connection_extension.rb
|
140
141
|
- lib/pg_eventstore/maintenance.rb
|
141
142
|
- lib/pg_eventstore/middleware.rb
|
143
|
+
- lib/pg_eventstore/partition.rb
|
142
144
|
- lib/pg_eventstore/pg_connection.rb
|
143
145
|
- lib/pg_eventstore/queries.rb
|
144
146
|
- lib/pg_eventstore/queries/event_queries.rb
|
@@ -146,7 +148,9 @@ files:
|
|
146
148
|
- lib/pg_eventstore/queries/maintenance_queries.rb
|
147
149
|
- lib/pg_eventstore/queries/partition_queries.rb
|
148
150
|
- lib/pg_eventstore/queries/transaction_queries.rb
|
151
|
+
- lib/pg_eventstore/query_builders/basic_filtering.rb
|
149
152
|
- lib/pg_eventstore/query_builders/events_filtering.rb
|
153
|
+
- lib/pg_eventstore/query_builders/partitions_filtering.rb
|
150
154
|
- lib/pg_eventstore/rspec/has_option_matcher.rb
|
151
155
|
- lib/pg_eventstore/rspec/test_helpers.rb
|
152
156
|
- lib/pg_eventstore/sql_builder.rb
|
@@ -166,6 +170,11 @@ files:
|
|
166
170
|
- lib/pg_eventstore/subscriptions/queries/subscription_queries.rb
|
167
171
|
- lib/pg_eventstore/subscriptions/queries/subscriptions_set_command_queries.rb
|
168
172
|
- lib/pg_eventstore/subscriptions/queries/subscriptions_set_queries.rb
|
173
|
+
- lib/pg_eventstore/subscriptions/runner_recovery_strategies.rb
|
174
|
+
- lib/pg_eventstore/subscriptions/runner_recovery_strategies/restore_connection.rb
|
175
|
+
- lib/pg_eventstore/subscriptions/runner_recovery_strategies/restore_subscription_feeder.rb
|
176
|
+
- lib/pg_eventstore/subscriptions/runner_recovery_strategies/restore_subscription_runner.rb
|
177
|
+
- lib/pg_eventstore/subscriptions/runner_recovery_strategy.rb
|
169
178
|
- lib/pg_eventstore/subscriptions/runner_state.rb
|
170
179
|
- lib/pg_eventstore/subscriptions/subscription.rb
|
171
180
|
- lib/pg_eventstore/subscriptions/subscription_feeder.rb
|
@@ -271,6 +280,7 @@ files:
|
|
271
280
|
- sig/pg_eventstore/cli/try_unlock_subscriptions_set.rbs
|
272
281
|
- sig/pg_eventstore/cli/wait_for_subscriptions_set_shutdown.rbs
|
273
282
|
- sig/pg_eventstore/client.rbs
|
283
|
+
- sig/pg_eventstore/commands/all_stream_read_grouped.rbs
|
274
284
|
- sig/pg_eventstore/commands/append.rbs
|
275
285
|
- sig/pg_eventstore/commands/delete_event.rbs
|
276
286
|
- sig/pg_eventstore/commands/delete_stream.rbs
|
@@ -279,6 +289,7 @@ files:
|
|
279
289
|
- sig/pg_eventstore/commands/link_to.rbs
|
280
290
|
- sig/pg_eventstore/commands/multiple.rbs
|
281
291
|
- sig/pg_eventstore/commands/read.rbs
|
292
|
+
- sig/pg_eventstore/commands/regular_stream_read_grouped.rbs
|
282
293
|
- sig/pg_eventstore/commands/regular_stream_read_paginated.rbs
|
283
294
|
- sig/pg_eventstore/commands/system_stream_read_paginated.rbs
|
284
295
|
- sig/pg_eventstore/config.rbs
|
@@ -294,6 +305,7 @@ files:
|
|
294
305
|
- sig/pg_eventstore/extensions/using_connection_extension.rbs
|
295
306
|
- sig/pg_eventstore/maintenance.rbs
|
296
307
|
- sig/pg_eventstore/middleware.rbs
|
308
|
+
- sig/pg_eventstore/partition.rbs
|
297
309
|
- sig/pg_eventstore/pg_connection.rbs
|
298
310
|
- sig/pg_eventstore/queries.rbs
|
299
311
|
- sig/pg_eventstore/queries/event_queries.rbs
|
@@ -301,7 +313,9 @@ files:
|
|
301
313
|
- sig/pg_eventstore/queries/maintenance_queries.rbs
|
302
314
|
- sig/pg_eventstore/queries/partition_queries.rbs
|
303
315
|
- sig/pg_eventstore/queries/transaction_queries.rbs
|
316
|
+
- sig/pg_eventstore/query_builders/basic_filtering.rbs
|
304
317
|
- sig/pg_eventstore/query_builders/events_filtering_query.rbs
|
318
|
+
- sig/pg_eventstore/query_builders/partitions_filtering.rbs
|
305
319
|
- sig/pg_eventstore/sql_builder.rbs
|
306
320
|
- sig/pg_eventstore/stream.rbs
|
307
321
|
- sig/pg_eventstore/subscriptions/basic_runner.rbs
|
@@ -319,6 +333,10 @@ files:
|
|
319
333
|
- sig/pg_eventstore/subscriptions/queries/subscription_queries.rbs
|
320
334
|
- sig/pg_eventstore/subscriptions/queries/subscriptions_set_command_queries.rbs
|
321
335
|
- sig/pg_eventstore/subscriptions/queries/subscriptions_set_queries.rbs
|
336
|
+
- sig/pg_eventstore/subscriptions/runner_recovery_strategies/restore_connection.rbs
|
337
|
+
- sig/pg_eventstore/subscriptions/runner_recovery_strategies/restore_subscription_feeder.rbs
|
338
|
+
- sig/pg_eventstore/subscriptions/runner_recovery_strategies/restore_subscription_runner.rbs
|
339
|
+
- sig/pg_eventstore/subscriptions/runner_recovery_strategy.rbs
|
322
340
|
- sig/pg_eventstore/subscriptions/runner_state.rbs
|
323
341
|
- sig/pg_eventstore/subscriptions/subscription.rbs
|
324
342
|
- sig/pg_eventstore/subscriptions/subscription_feeder.rbs
|
@@ -368,7 +386,6 @@ metadata:
|
|
368
386
|
homepage_uri: https://github.com/yousty/pg_eventstore
|
369
387
|
source_code_uri: https://github.com/yousty/pg_eventstore
|
370
388
|
changelog_uri: https://github.com/yousty/pg_eventstore/blob/main/CHANGELOG.md
|
371
|
-
post_install_message:
|
372
389
|
rdoc_options: []
|
373
390
|
require_paths:
|
374
391
|
- lib
|
@@ -383,8 +400,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
383
400
|
- !ruby/object:Gem::Version
|
384
401
|
version: '0'
|
385
402
|
requirements: []
|
386
|
-
rubygems_version: 3.
|
387
|
-
signing_key:
|
403
|
+
rubygems_version: 3.6.9
|
388
404
|
specification_version: 4
|
389
405
|
summary: EventStore implementation using PostgreSQL
|
390
406
|
test_files: []
|