event_store_client 1.4.9 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +30 -145
- data/docs/appending_events.md +155 -0
- data/docs/catch_up_subscriptions.md +253 -0
- data/docs/configuration.md +83 -0
- data/docs/deleting_streams.md +25 -0
- data/docs/encrypting_events.md +84 -0
- data/docs/linking_events.md +149 -0
- data/docs/reading_events.md +200 -0
- data/lib/event_store_client/adapters/grpc/client.rb +244 -105
- data/lib/event_store_client/adapters/grpc/cluster/gossip_discover.rb +131 -0
- data/lib/event_store_client/adapters/grpc/cluster/insecure_connection.rb +21 -0
- data/lib/event_store_client/adapters/grpc/cluster/member.rb +18 -0
- data/lib/event_store_client/adapters/grpc/cluster/queryless_discover.rb +25 -0
- data/lib/event_store_client/adapters/grpc/cluster/secure_connection.rb +71 -0
- data/lib/event_store_client/adapters/grpc/command_registrar.rb +7 -7
- data/lib/event_store_client/adapters/grpc/commands/command.rb +63 -25
- data/lib/event_store_client/adapters/grpc/commands/gossip/cluster_info.rb +24 -0
- data/lib/event_store_client/adapters/grpc/commands/streams/append.rb +43 -68
- data/lib/event_store_client/adapters/grpc/commands/streams/append_multiple.rb +44 -0
- data/lib/event_store_client/adapters/grpc/commands/streams/delete.rb +21 -17
- data/lib/event_store_client/adapters/grpc/commands/streams/hard_delete.rb +39 -0
- data/lib/event_store_client/adapters/grpc/commands/streams/link_to.rb +7 -52
- data/lib/event_store_client/adapters/grpc/commands/streams/link_to_multiple.rb +44 -0
- data/lib/event_store_client/adapters/grpc/commands/streams/read.rb +20 -85
- data/lib/event_store_client/adapters/grpc/commands/streams/read_paginated.rb +174 -0
- data/lib/event_store_client/adapters/grpc/commands/streams/subscribe.rb +31 -106
- data/lib/event_store_client/adapters/grpc/connection.rb +56 -36
- data/lib/event_store_client/adapters/grpc/discover.rb +75 -0
- data/lib/event_store_client/adapters/grpc/generated/cluster_pb.rb +106 -18
- data/lib/event_store_client/adapters/grpc/generated/cluster_services_pb.rb +12 -12
- data/lib/event_store_client/adapters/grpc/generated/code_pb.rb +34 -0
- data/lib/event_store_client/adapters/grpc/generated/gossip_pb.rb +3 -2
- data/lib/event_store_client/adapters/grpc/generated/gossip_services_pb.rb +3 -3
- data/lib/event_store_client/adapters/grpc/generated/monitoring_pb.rb +25 -0
- data/lib/event_store_client/adapters/grpc/generated/monitoring_services_pb.rb +26 -0
- data/lib/event_store_client/adapters/grpc/generated/operations_pb.rb +2 -1
- data/lib/event_store_client/adapters/grpc/generated/operations_services_pb.rb +8 -7
- data/lib/event_store_client/adapters/grpc/generated/persistent_pb.rb +199 -38
- data/lib/event_store_client/adapters/grpc/generated/persistent_services_pb.rb +7 -3
- data/lib/event_store_client/adapters/grpc/generated/projections_pb.rb +9 -26
- data/lib/event_store_client/adapters/grpc/generated/projections_services_pb.rb +4 -3
- data/lib/event_store_client/adapters/grpc/generated/serverfeatures_pb.rb +29 -0
- data/lib/event_store_client/adapters/grpc/generated/serverfeatures_services_pb.rb +26 -0
- data/lib/event_store_client/adapters/grpc/generated/shared_pb.rb +54 -12
- data/lib/event_store_client/adapters/grpc/generated/status_pb.rb +23 -0
- data/lib/event_store_client/adapters/grpc/generated/streams_pb.rb +104 -64
- data/lib/event_store_client/adapters/grpc/generated/streams_services_pb.rb +3 -2
- data/lib/event_store_client/adapters/grpc/generated/users_services_pb.rb +2 -2
- data/lib/event_store_client/adapters/grpc/options/streams/read_options.rb +78 -0
- data/lib/event_store_client/adapters/grpc/options/streams/write_options.rb +39 -0
- data/lib/event_store_client/adapters/grpc/shared/event_deserializer.rb +52 -0
- data/lib/event_store_client/adapters/grpc/shared/options/filter_options.rb +76 -0
- data/lib/event_store_client/adapters/grpc/shared/options/stream_options.rb +91 -0
- data/lib/event_store_client/adapters/grpc/shared/streams/process_response.rb +28 -0
- data/lib/event_store_client/adapters/grpc/shared/streams/process_responses.rb +33 -0
- data/lib/event_store_client/adapters/grpc.rb +28 -12
- data/lib/event_store_client/configuration.rb +39 -54
- data/lib/event_store_client/connection/url.rb +57 -0
- data/lib/event_store_client/connection/url_parser.rb +144 -0
- data/lib/event_store_client/data_decryptor.rb +2 -9
- data/lib/event_store_client/deserialized_event.rb +35 -10
- data/lib/event_store_client/encryption_metadata.rb +0 -1
- data/lib/event_store_client/event.rb +4 -2
- data/lib/event_store_client/extensions/options_extension.rb +87 -0
- data/lib/event_store_client/mapper/default.rb +12 -9
- data/lib/event_store_client/mapper/encrypted.rb +18 -17
- data/lib/event_store_client/types.rb +1 -1
- data/lib/event_store_client/utils.rb +30 -0
- data/lib/event_store_client/version.rb +1 -1
- data/lib/event_store_client.rb +8 -7
- metadata +74 -83
- data/lib/event_store_client/adapters/grpc/Protos/cluster.proto +0 -149
- data/lib/event_store_client/adapters/grpc/Protos/gossip.proto +0 -44
- data/lib/event_store_client/adapters/grpc/Protos/operations.proto +0 -45
- data/lib/event_store_client/adapters/grpc/Protos/persistent.proto +0 -180
- data/lib/event_store_client/adapters/grpc/Protos/projections.proto +0 -174
- data/lib/event_store_client/adapters/grpc/Protos/shared.proto +0 -22
- data/lib/event_store_client/adapters/grpc/Protos/streams.proto +0 -242
- data/lib/event_store_client/adapters/grpc/Protos/users.proto +0 -119
- data/lib/event_store_client/adapters/grpc/README.md +0 -16
- data/lib/event_store_client/adapters/grpc/commands/persistent_subscriptions/create.rb +0 -46
- data/lib/event_store_client/adapters/grpc/commands/persistent_subscriptions/delete.rb +0 -34
- data/lib/event_store_client/adapters/grpc/commands/persistent_subscriptions/read.rb +0 -77
- data/lib/event_store_client/adapters/grpc/commands/persistent_subscriptions/settings_schema.rb +0 -38
- data/lib/event_store_client/adapters/grpc/commands/persistent_subscriptions/update.rb +0 -48
- data/lib/event_store_client/adapters/grpc/commands/projections/create.rb +0 -48
- data/lib/event_store_client/adapters/grpc/commands/projections/delete.rb +0 -34
- data/lib/event_store_client/adapters/grpc/commands/projections/update.rb +0 -44
- data/lib/event_store_client/adapters/grpc/commands/streams/read_all.rb +0 -43
- data/lib/event_store_client/adapters/grpc/commands/streams/tombstone.rb +0 -35
- data/lib/event_store_client/adapters/http/README.md +0 -16
- data/lib/event_store_client/adapters/http/client.rb +0 -161
- data/lib/event_store_client/adapters/http/commands/command.rb +0 -27
- data/lib/event_store_client/adapters/http/commands/persistent_subscriptions/ack.rb +0 -15
- data/lib/event_store_client/adapters/http/commands/persistent_subscriptions/create.rb +0 -35
- data/lib/event_store_client/adapters/http/commands/persistent_subscriptions/read.rb +0 -60
- data/lib/event_store_client/adapters/http/commands/projections/create.rb +0 -33
- data/lib/event_store_client/adapters/http/commands/projections/update.rb +0 -31
- data/lib/event_store_client/adapters/http/commands/streams/append.rb +0 -49
- data/lib/event_store_client/adapters/http/commands/streams/delete.rb +0 -16
- data/lib/event_store_client/adapters/http/commands/streams/link_to.rb +0 -49
- data/lib/event_store_client/adapters/http/commands/streams/read.rb +0 -52
- data/lib/event_store_client/adapters/http/commands/streams/tombstone.rb +0 -17
- data/lib/event_store_client/adapters/http/connection.rb +0 -46
- data/lib/event_store_client/adapters/http/request_method.rb +0 -28
- data/lib/event_store_client/adapters/http.rb +0 -17
- data/lib/event_store_client/adapters/in_memory.rb +0 -144
- data/lib/event_store_client/broker.rb +0 -40
- data/lib/event_store_client/catch_up_subscription.rb +0 -42
- data/lib/event_store_client/catch_up_subscriptions.rb +0 -92
- data/lib/event_store_client/client.rb +0 -73
- data/lib/event_store_client/error_handler.rb +0 -10
- data/lib/event_store_client/subscription.rb +0 -23
- data/lib/event_store_client/subscriptions.rb +0 -38
- data/lib/event_store_client/value_objects/read_direction.rb +0 -43
@@ -1,15 +1,12 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
4
2
|
# source: persistent.proto
|
5
3
|
|
6
4
|
require 'google/protobuf'
|
7
|
-
|
5
|
+
|
6
|
+
require_relative 'shared_pb'
|
8
7
|
|
9
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
9
|
add_file("persistent.proto", :syntax => :proto3) do
|
11
|
-
# Read persistent Subscription request
|
12
|
-
#
|
13
10
|
add_message "event_store.client.persistent_subscriptions.ReadReq" do
|
14
11
|
oneof :content do
|
15
12
|
optional :options, :message, 1, "event_store.client.persistent_subscriptions.ReadReq.Options"
|
@@ -18,24 +15,27 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
18
15
|
end
|
19
16
|
end
|
20
17
|
add_message "event_store.client.persistent_subscriptions.ReadReq.Options" do
|
21
|
-
optional :stream_identifier, :message, 1, "event_store.client.shared.StreamIdentifier"
|
22
18
|
optional :group_name, :string, 2
|
23
19
|
optional :buffer_size, :int32, 3
|
24
20
|
optional :uuid_option, :message, 4, "event_store.client.persistent_subscriptions.ReadReq.Options.UUIDOption"
|
21
|
+
oneof :stream_option do
|
22
|
+
optional :stream_identifier, :message, 1, "event_store.client.StreamIdentifier"
|
23
|
+
optional :all, :message, 5, "event_store.client.Empty"
|
24
|
+
end
|
25
25
|
end
|
26
26
|
add_message "event_store.client.persistent_subscriptions.ReadReq.Options.UUIDOption" do
|
27
27
|
oneof :content do
|
28
|
-
optional :structured, :message, 1, "event_store.client.
|
29
|
-
optional :string, :message, 2, "event_store.client.
|
28
|
+
optional :structured, :message, 1, "event_store.client.Empty"
|
29
|
+
optional :string, :message, 2, "event_store.client.Empty"
|
30
30
|
end
|
31
31
|
end
|
32
32
|
add_message "event_store.client.persistent_subscriptions.ReadReq.Ack" do
|
33
33
|
optional :id, :bytes, 1
|
34
|
-
repeated :ids, :message, 2, "event_store.client.
|
34
|
+
repeated :ids, :message, 2, "event_store.client.UUID"
|
35
35
|
end
|
36
36
|
add_message "event_store.client.persistent_subscriptions.ReadReq.Nack" do
|
37
37
|
optional :id, :bytes, 1
|
38
|
-
repeated :ids, :message, 2, "event_store.client.
|
38
|
+
repeated :ids, :message, 2, "event_store.client.UUID"
|
39
39
|
optional :action, :enum, 3, "event_store.client.persistent_subscriptions.ReadReq.Nack.Action"
|
40
40
|
optional :reason, :string, 4
|
41
41
|
end
|
@@ -46,9 +46,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
46
46
|
value :Skip, 3
|
47
47
|
value :Stop, 4
|
48
48
|
end
|
49
|
-
|
50
|
-
# Read persistent Subscription response
|
51
|
-
#
|
52
49
|
add_message "event_store.client.persistent_subscriptions.ReadResp" do
|
53
50
|
oneof :content do
|
54
51
|
optional :event, :message, 1, "event_store.client.persistent_subscriptions.ReadResp.ReadEvent"
|
@@ -60,16 +57,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
60
57
|
optional :link, :message, 2, "event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent"
|
61
58
|
oneof :position do
|
62
59
|
optional :commit_position, :uint64, 3
|
63
|
-
optional :no_position, :message, 4, "event_store.client.
|
60
|
+
optional :no_position, :message, 4, "event_store.client.Empty"
|
64
61
|
end
|
65
62
|
oneof :count do
|
66
63
|
optional :retry_count, :int32, 5
|
67
|
-
optional :no_retry_count, :message, 6, "event_store.client.
|
64
|
+
optional :no_retry_count, :message, 6, "event_store.client.Empty"
|
68
65
|
end
|
69
66
|
end
|
70
67
|
add_message "event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent" do
|
71
|
-
optional :id, :message, 1, "event_store.client.
|
72
|
-
optional :stream_identifier, :message, 2, "event_store.client.
|
68
|
+
optional :id, :message, 1, "event_store.client.UUID"
|
69
|
+
optional :stream_identifier, :message, 2, "event_store.client.StreamIdentifier"
|
73
70
|
optional :stream_revision, :uint64, 3
|
74
71
|
optional :prepare_position, :uint64, 4
|
75
72
|
optional :commit_position, :uint64, 5
|
@@ -80,16 +77,55 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
80
77
|
add_message "event_store.client.persistent_subscriptions.ReadResp.SubscriptionConfirmation" do
|
81
78
|
optional :subscription_id, :string, 1
|
82
79
|
end
|
83
|
-
|
84
|
-
# Create persistent Subscription request
|
85
|
-
#
|
86
80
|
add_message "event_store.client.persistent_subscriptions.CreateReq" do
|
87
81
|
optional :options, :message, 1, "event_store.client.persistent_subscriptions.CreateReq.Options"
|
88
82
|
end
|
89
83
|
add_message "event_store.client.persistent_subscriptions.CreateReq.Options" do
|
90
|
-
optional :stream_identifier, :message, 1, "event_store.client.
|
84
|
+
optional :stream_identifier, :message, 1, "event_store.client.StreamIdentifier"
|
91
85
|
optional :group_name, :string, 2
|
92
86
|
optional :settings, :message, 3, "event_store.client.persistent_subscriptions.CreateReq.Settings"
|
87
|
+
oneof :stream_option do
|
88
|
+
optional :stream, :message, 4, "event_store.client.persistent_subscriptions.CreateReq.StreamOptions"
|
89
|
+
optional :all, :message, 5, "event_store.client.persistent_subscriptions.CreateReq.AllOptions"
|
90
|
+
end
|
91
|
+
end
|
92
|
+
add_message "event_store.client.persistent_subscriptions.CreateReq.StreamOptions" do
|
93
|
+
optional :stream_identifier, :message, 1, "event_store.client.StreamIdentifier"
|
94
|
+
oneof :revision_option do
|
95
|
+
optional :revision, :uint64, 2
|
96
|
+
optional :start, :message, 3, "event_store.client.Empty"
|
97
|
+
optional :end, :message, 4, "event_store.client.Empty"
|
98
|
+
end
|
99
|
+
end
|
100
|
+
add_message "event_store.client.persistent_subscriptions.CreateReq.AllOptions" do
|
101
|
+
oneof :all_option do
|
102
|
+
optional :position, :message, 1, "event_store.client.persistent_subscriptions.CreateReq.Position"
|
103
|
+
optional :start, :message, 2, "event_store.client.Empty"
|
104
|
+
optional :end, :message, 3, "event_store.client.Empty"
|
105
|
+
end
|
106
|
+
oneof :filter_option do
|
107
|
+
optional :filter, :message, 4, "event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptions"
|
108
|
+
optional :no_filter, :message, 5, "event_store.client.Empty"
|
109
|
+
end
|
110
|
+
end
|
111
|
+
add_message "event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptions" do
|
112
|
+
optional :checkpointIntervalMultiplier, :uint32, 5
|
113
|
+
oneof :filter do
|
114
|
+
optional :stream_identifier, :message, 1, "event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptions.Expression"
|
115
|
+
optional :event_type, :message, 2, "event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptions.Expression"
|
116
|
+
end
|
117
|
+
oneof :window do
|
118
|
+
optional :max, :uint32, 3
|
119
|
+
optional :count, :message, 4, "event_store.client.Empty"
|
120
|
+
end
|
121
|
+
end
|
122
|
+
add_message "event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptions.Expression" do
|
123
|
+
optional :regex, :string, 1
|
124
|
+
repeated :prefix, :string, 2
|
125
|
+
end
|
126
|
+
add_message "event_store.client.persistent_subscriptions.CreateReq.Position" do
|
127
|
+
optional :commit_position, :uint64, 1
|
128
|
+
optional :prepare_position, :uint64, 2
|
93
129
|
end
|
94
130
|
add_message "event_store.client.persistent_subscriptions.CreateReq.Settings" do
|
95
131
|
optional :resolve_links, :bool, 1
|
@@ -103,6 +139,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
103
139
|
optional :read_batch_size, :int32, 11
|
104
140
|
optional :history_buffer_size, :int32, 12
|
105
141
|
optional :named_consumer_strategy, :enum, 13, "event_store.client.persistent_subscriptions.CreateReq.ConsumerStrategy"
|
142
|
+
optional :consumer_strategy, :string, 16
|
106
143
|
oneof :message_timeout do
|
107
144
|
optional :message_timeout_ticks, :int64, 4
|
108
145
|
optional :message_timeout_ms, :int32, 14
|
@@ -117,21 +154,38 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
117
154
|
value :RoundRobin, 1
|
118
155
|
value :Pinned, 2
|
119
156
|
end
|
120
|
-
|
121
|
-
# Create persistent subscription response
|
122
|
-
#
|
123
157
|
add_message "event_store.client.persistent_subscriptions.CreateResp" do
|
124
158
|
end
|
125
|
-
|
126
|
-
# Update persistent subscription request
|
127
|
-
#
|
128
159
|
add_message "event_store.client.persistent_subscriptions.UpdateReq" do
|
129
160
|
optional :options, :message, 1, "event_store.client.persistent_subscriptions.UpdateReq.Options"
|
130
161
|
end
|
131
162
|
add_message "event_store.client.persistent_subscriptions.UpdateReq.Options" do
|
132
|
-
optional :stream_identifier, :message, 1, "event_store.client.
|
163
|
+
optional :stream_identifier, :message, 1, "event_store.client.StreamIdentifier"
|
133
164
|
optional :group_name, :string, 2
|
134
165
|
optional :settings, :message, 3, "event_store.client.persistent_subscriptions.UpdateReq.Settings"
|
166
|
+
oneof :stream_option do
|
167
|
+
optional :stream, :message, 4, "event_store.client.persistent_subscriptions.UpdateReq.StreamOptions"
|
168
|
+
optional :all, :message, 5, "event_store.client.persistent_subscriptions.UpdateReq.AllOptions"
|
169
|
+
end
|
170
|
+
end
|
171
|
+
add_message "event_store.client.persistent_subscriptions.UpdateReq.StreamOptions" do
|
172
|
+
optional :stream_identifier, :message, 1, "event_store.client.StreamIdentifier"
|
173
|
+
oneof :revision_option do
|
174
|
+
optional :revision, :uint64, 2
|
175
|
+
optional :start, :message, 3, "event_store.client.Empty"
|
176
|
+
optional :end, :message, 4, "event_store.client.Empty"
|
177
|
+
end
|
178
|
+
end
|
179
|
+
add_message "event_store.client.persistent_subscriptions.UpdateReq.AllOptions" do
|
180
|
+
oneof :all_option do
|
181
|
+
optional :position, :message, 1, "event_store.client.persistent_subscriptions.UpdateReq.Position"
|
182
|
+
optional :start, :message, 2, "event_store.client.Empty"
|
183
|
+
optional :end, :message, 3, "event_store.client.Empty"
|
184
|
+
end
|
185
|
+
end
|
186
|
+
add_message "event_store.client.persistent_subscriptions.UpdateReq.Position" do
|
187
|
+
optional :commit_position, :uint64, 1
|
188
|
+
optional :prepare_position, :uint64, 2
|
135
189
|
end
|
136
190
|
add_message "event_store.client.persistent_subscriptions.UpdateReq.Settings" do
|
137
191
|
optional :resolve_links, :bool, 1
|
@@ -159,26 +213,112 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
159
213
|
value :RoundRobin, 1
|
160
214
|
value :Pinned, 2
|
161
215
|
end
|
162
|
-
|
163
|
-
# Update persistent subscription response
|
164
|
-
#
|
165
216
|
add_message "event_store.client.persistent_subscriptions.UpdateResp" do
|
166
217
|
end
|
167
|
-
|
168
|
-
# Delete persistent subscription request
|
169
|
-
#
|
170
218
|
add_message "event_store.client.persistent_subscriptions.DeleteReq" do
|
171
219
|
optional :options, :message, 1, "event_store.client.persistent_subscriptions.DeleteReq.Options"
|
172
220
|
end
|
173
221
|
add_message "event_store.client.persistent_subscriptions.DeleteReq.Options" do
|
174
|
-
optional :stream_identifier, :message, 1, "event_store.client.shared.StreamIdentifier"
|
175
222
|
optional :group_name, :string, 2
|
223
|
+
oneof :stream_option do
|
224
|
+
optional :stream_identifier, :message, 1, "event_store.client.StreamIdentifier"
|
225
|
+
optional :all, :message, 3, "event_store.client.Empty"
|
226
|
+
end
|
176
227
|
end
|
177
|
-
|
178
|
-
# Delete persistent subscription response
|
179
|
-
#
|
180
228
|
add_message "event_store.client.persistent_subscriptions.DeleteResp" do
|
181
229
|
end
|
230
|
+
add_message "event_store.client.persistent_subscriptions.GetInfoReq" do
|
231
|
+
optional :options, :message, 1, "event_store.client.persistent_subscriptions.GetInfoReq.Options"
|
232
|
+
end
|
233
|
+
add_message "event_store.client.persistent_subscriptions.GetInfoReq.Options" do
|
234
|
+
optional :group_name, :string, 3
|
235
|
+
oneof :stream_option do
|
236
|
+
optional :stream_identifier, :message, 1, "event_store.client.StreamIdentifier"
|
237
|
+
optional :all, :message, 2, "event_store.client.Empty"
|
238
|
+
end
|
239
|
+
end
|
240
|
+
add_message "event_store.client.persistent_subscriptions.GetInfoResp" do
|
241
|
+
optional :subscription_info, :message, 1, "event_store.client.persistent_subscriptions.SubscriptionInfo"
|
242
|
+
end
|
243
|
+
add_message "event_store.client.persistent_subscriptions.SubscriptionInfo" do
|
244
|
+
optional :event_source, :string, 1
|
245
|
+
optional :group_name, :string, 2
|
246
|
+
optional :status, :string, 3
|
247
|
+
repeated :connections, :message, 4, "event_store.client.persistent_subscriptions.SubscriptionInfo.ConnectionInfo"
|
248
|
+
optional :average_per_second, :int32, 5
|
249
|
+
optional :total_items, :int64, 6
|
250
|
+
optional :count_since_last_measurement, :int64, 7
|
251
|
+
optional :last_checkpointed_event_position, :string, 8
|
252
|
+
optional :last_known_event_position, :string, 9
|
253
|
+
optional :resolve_link_tos, :bool, 10
|
254
|
+
optional :start_from, :string, 11
|
255
|
+
optional :message_timeout_milliseconds, :int32, 12
|
256
|
+
optional :extra_statistics, :bool, 13
|
257
|
+
optional :max_retry_count, :int32, 14
|
258
|
+
optional :live_buffer_size, :int32, 15
|
259
|
+
optional :buffer_size, :int32, 16
|
260
|
+
optional :read_batch_size, :int32, 17
|
261
|
+
optional :check_point_after_milliseconds, :int32, 18
|
262
|
+
optional :min_check_point_count, :int32, 19
|
263
|
+
optional :max_check_point_count, :int32, 20
|
264
|
+
optional :read_buffer_count, :int32, 21
|
265
|
+
optional :live_buffer_count, :int64, 22
|
266
|
+
optional :retry_buffer_count, :int32, 23
|
267
|
+
optional :total_in_flight_messages, :int32, 24
|
268
|
+
optional :outstanding_messages_count, :int32, 25
|
269
|
+
optional :named_consumer_strategy, :string, 26
|
270
|
+
optional :max_subscriber_count, :int32, 27
|
271
|
+
optional :parked_message_count, :int64, 28
|
272
|
+
end
|
273
|
+
add_message "event_store.client.persistent_subscriptions.SubscriptionInfo.ConnectionInfo" do
|
274
|
+
optional :from, :string, 1
|
275
|
+
optional :username, :string, 2
|
276
|
+
optional :average_items_per_second, :int32, 3
|
277
|
+
optional :total_items, :int64, 4
|
278
|
+
optional :count_since_last_measurement, :int64, 5
|
279
|
+
repeated :observed_measurements, :message, 6, "event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement"
|
280
|
+
optional :available_slots, :int32, 7
|
281
|
+
optional :in_flight_messages, :int32, 8
|
282
|
+
optional :connection_name, :string, 9
|
283
|
+
end
|
284
|
+
add_message "event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement" do
|
285
|
+
optional :key, :string, 1
|
286
|
+
optional :value, :int64, 2
|
287
|
+
end
|
288
|
+
add_message "event_store.client.persistent_subscriptions.ReplayParkedReq" do
|
289
|
+
optional :options, :message, 1, "event_store.client.persistent_subscriptions.ReplayParkedReq.Options"
|
290
|
+
end
|
291
|
+
add_message "event_store.client.persistent_subscriptions.ReplayParkedReq.Options" do
|
292
|
+
optional :group_name, :string, 1
|
293
|
+
oneof :stream_option do
|
294
|
+
optional :stream_identifier, :message, 2, "event_store.client.StreamIdentifier"
|
295
|
+
optional :all, :message, 3, "event_store.client.Empty"
|
296
|
+
end
|
297
|
+
oneof :stop_at_option do
|
298
|
+
optional :stop_at, :int64, 4
|
299
|
+
optional :no_limit, :message, 5, "event_store.client.Empty"
|
300
|
+
end
|
301
|
+
end
|
302
|
+
add_message "event_store.client.persistent_subscriptions.ReplayParkedResp" do
|
303
|
+
end
|
304
|
+
add_message "event_store.client.persistent_subscriptions.ListReq" do
|
305
|
+
optional :options, :message, 1, "event_store.client.persistent_subscriptions.ListReq.Options"
|
306
|
+
end
|
307
|
+
add_message "event_store.client.persistent_subscriptions.ListReq.Options" do
|
308
|
+
oneof :list_option do
|
309
|
+
optional :list_all_subscriptions, :message, 1, "event_store.client.Empty"
|
310
|
+
optional :list_for_stream, :message, 2, "event_store.client.persistent_subscriptions.ListReq.StreamOption"
|
311
|
+
end
|
312
|
+
end
|
313
|
+
add_message "event_store.client.persistent_subscriptions.ListReq.StreamOption" do
|
314
|
+
oneof :stream_option do
|
315
|
+
optional :stream, :message, 1, "event_store.client.StreamIdentifier"
|
316
|
+
optional :all, :message, 2, "event_store.client.Empty"
|
317
|
+
end
|
318
|
+
end
|
319
|
+
add_message "event_store.client.persistent_subscriptions.ListResp" do
|
320
|
+
repeated :subscriptions, :message, 1, "event_store.client.persistent_subscriptions.SubscriptionInfo"
|
321
|
+
end
|
182
322
|
end
|
183
323
|
end
|
184
324
|
|
@@ -197,17 +337,38 @@ module EventStore
|
|
197
337
|
ReadResp::SubscriptionConfirmation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.ReadResp.SubscriptionConfirmation").msgclass
|
198
338
|
CreateReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.CreateReq").msgclass
|
199
339
|
CreateReq::Options = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.CreateReq.Options").msgclass
|
340
|
+
CreateReq::StreamOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.CreateReq.StreamOptions").msgclass
|
341
|
+
CreateReq::AllOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.CreateReq.AllOptions").msgclass
|
342
|
+
CreateReq::AllOptions::FilterOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptions").msgclass
|
343
|
+
CreateReq::AllOptions::FilterOptions::Expression = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptions.Expression").msgclass
|
344
|
+
CreateReq::Position = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.CreateReq.Position").msgclass
|
200
345
|
CreateReq::Settings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.CreateReq.Settings").msgclass
|
201
346
|
CreateReq::ConsumerStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.CreateReq.ConsumerStrategy").enummodule
|
202
347
|
CreateResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.CreateResp").msgclass
|
203
348
|
UpdateReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.UpdateReq").msgclass
|
204
349
|
UpdateReq::Options = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.UpdateReq.Options").msgclass
|
350
|
+
UpdateReq::StreamOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.UpdateReq.StreamOptions").msgclass
|
351
|
+
UpdateReq::AllOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.UpdateReq.AllOptions").msgclass
|
352
|
+
UpdateReq::Position = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.UpdateReq.Position").msgclass
|
205
353
|
UpdateReq::Settings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.UpdateReq.Settings").msgclass
|
206
354
|
UpdateReq::ConsumerStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.UpdateReq.ConsumerStrategy").enummodule
|
207
355
|
UpdateResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.UpdateResp").msgclass
|
208
356
|
DeleteReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.DeleteReq").msgclass
|
209
357
|
DeleteReq::Options = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.DeleteReq.Options").msgclass
|
210
358
|
DeleteResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.DeleteResp").msgclass
|
359
|
+
GetInfoReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.GetInfoReq").msgclass
|
360
|
+
GetInfoReq::Options = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.GetInfoReq.Options").msgclass
|
361
|
+
GetInfoResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.GetInfoResp").msgclass
|
362
|
+
SubscriptionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.SubscriptionInfo").msgclass
|
363
|
+
SubscriptionInfo::ConnectionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.SubscriptionInfo.ConnectionInfo").msgclass
|
364
|
+
SubscriptionInfo::Measurement = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement").msgclass
|
365
|
+
ReplayParkedReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.ReplayParkedReq").msgclass
|
366
|
+
ReplayParkedReq::Options = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.ReplayParkedReq.Options").msgclass
|
367
|
+
ReplayParkedResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.ReplayParkedResp").msgclass
|
368
|
+
ListReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.ListReq").msgclass
|
369
|
+
ListReq::Options = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.ListReq.Options").msgclass
|
370
|
+
ListReq::StreamOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.ListReq.StreamOption").msgclass
|
371
|
+
ListResp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.persistent_subscriptions.ListResp").msgclass
|
211
372
|
end
|
212
373
|
end
|
213
374
|
end
|
@@ -2,15 +2,15 @@
|
|
2
2
|
# Source: persistent.proto for package 'event_store.client.persistent_subscriptions'
|
3
3
|
|
4
4
|
require 'grpc'
|
5
|
-
|
6
|
-
require 'event_store_client/adapters/grpc/generated/persistent_pb'
|
5
|
+
require_relative 'persistent_pb'
|
7
6
|
|
8
7
|
module EventStore
|
9
8
|
module Client
|
10
9
|
module PersistentSubscriptions
|
11
10
|
module PersistentSubscriptions
|
12
11
|
class Service
|
13
|
-
|
12
|
+
|
13
|
+
include ::GRPC::GenericService
|
14
14
|
|
15
15
|
self.marshal_class_method = :encode
|
16
16
|
self.unmarshal_class_method = :decode
|
@@ -20,6 +20,10 @@ module EventStore
|
|
20
20
|
rpc :Update, ::EventStore::Client::PersistentSubscriptions::UpdateReq, ::EventStore::Client::PersistentSubscriptions::UpdateResp
|
21
21
|
rpc :Delete, ::EventStore::Client::PersistentSubscriptions::DeleteReq, ::EventStore::Client::PersistentSubscriptions::DeleteResp
|
22
22
|
rpc :Read, stream(::EventStore::Client::PersistentSubscriptions::ReadReq), stream(::EventStore::Client::PersistentSubscriptions::ReadResp)
|
23
|
+
rpc :GetInfo, ::EventStore::Client::PersistentSubscriptions::GetInfoReq, ::EventStore::Client::PersistentSubscriptions::GetInfoResp
|
24
|
+
rpc :ReplayParked, ::EventStore::Client::PersistentSubscriptions::ReplayParkedReq, ::EventStore::Client::PersistentSubscriptions::ReplayParkedResp
|
25
|
+
rpc :List, ::EventStore::Client::PersistentSubscriptions::ListReq, ::EventStore::Client::PersistentSubscriptions::ListResp
|
26
|
+
rpc :RestartSubsystem, ::EventStore::Client::Empty, ::EventStore::Client::Empty
|
23
27
|
end
|
24
28
|
|
25
29
|
Stub = Service.rpc_stub_class
|
@@ -4,19 +4,17 @@
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
require 'google/protobuf/struct_pb'
|
7
|
-
|
7
|
+
require_relative 'shared_pb'
|
8
8
|
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
10
|
add_file("projections.proto", :syntax => :proto3) do
|
11
|
-
# Create projection request
|
12
|
-
#
|
13
11
|
add_message "event_store.client.projections.CreateReq" do
|
14
12
|
optional :options, :message, 1, "event_store.client.projections.CreateReq.Options"
|
15
13
|
end
|
16
14
|
add_message "event_store.client.projections.CreateReq.Options" do
|
17
15
|
optional :query, :string, 4
|
18
16
|
oneof :mode do
|
19
|
-
optional :one_time, :message, 1, "event_store.client.
|
17
|
+
optional :one_time, :message, 1, "event_store.client.Empty"
|
20
18
|
optional :transient, :message, 2, "event_store.client.projections.CreateReq.Options.Transient"
|
21
19
|
optional :continuous, :message, 3, "event_store.client.projections.CreateReq.Options.Continuous"
|
22
20
|
end
|
@@ -26,16 +24,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
26
24
|
end
|
27
25
|
add_message "event_store.client.projections.CreateReq.Options.Continuous" do
|
28
26
|
optional :name, :string, 1
|
29
|
-
optional :
|
27
|
+
optional :emit_enabled, :bool, 2
|
28
|
+
optional :track_emitted_streams, :bool, 3
|
30
29
|
end
|
31
|
-
|
32
|
-
# Create projection response
|
33
|
-
#
|
34
30
|
add_message "event_store.client.projections.CreateResp" do
|
35
31
|
end
|
36
|
-
|
37
|
-
# Update projection request
|
38
|
-
#
|
39
32
|
add_message "event_store.client.projections.UpdateReq" do
|
40
33
|
optional :options, :message, 1, "event_store.client.projections.UpdateReq.Options"
|
41
34
|
end
|
@@ -44,16 +37,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
44
37
|
optional :query, :string, 2
|
45
38
|
oneof :emit_option do
|
46
39
|
optional :emit_enabled, :bool, 3
|
47
|
-
optional :no_emit_options, :message, 4, "event_store.client.
|
40
|
+
optional :no_emit_options, :message, 4, "event_store.client.Empty"
|
48
41
|
end
|
49
42
|
end
|
50
|
-
|
51
|
-
# Update projection response
|
52
|
-
#
|
53
43
|
add_message "event_store.client.projections.UpdateResp" do
|
54
44
|
end
|
55
|
-
|
56
|
-
|
57
45
|
add_message "event_store.client.projections.DeleteReq" do
|
58
46
|
optional :options, :message, 1, "event_store.client.projections.DeleteReq.Options"
|
59
47
|
end
|
@@ -63,23 +51,18 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
63
51
|
optional :delete_state_stream, :bool, 3
|
64
52
|
optional :delete_checkpoint_stream, :bool, 4
|
65
53
|
end
|
66
|
-
|
67
|
-
# Delete projection response
|
68
|
-
#
|
69
54
|
add_message "event_store.client.projections.DeleteResp" do
|
70
55
|
end
|
71
|
-
|
72
|
-
|
73
56
|
add_message "event_store.client.projections.StatisticsReq" do
|
74
57
|
optional :options, :message, 1, "event_store.client.projections.StatisticsReq.Options"
|
75
58
|
end
|
76
59
|
add_message "event_store.client.projections.StatisticsReq.Options" do
|
77
60
|
oneof :mode do
|
78
61
|
optional :name, :string, 1
|
79
|
-
optional :all, :message, 2, "event_store.client.
|
80
|
-
optional :transient, :message, 3, "event_store.client.
|
81
|
-
optional :continuous, :message, 4, "event_store.client.
|
82
|
-
optional :one_time, :message, 5, "event_store.client.
|
62
|
+
optional :all, :message, 2, "event_store.client.Empty"
|
63
|
+
optional :transient, :message, 3, "event_store.client.Empty"
|
64
|
+
optional :continuous, :message, 4, "event_store.client.Empty"
|
65
|
+
optional :one_time, :message, 5, "event_store.client.Empty"
|
83
66
|
end
|
84
67
|
end
|
85
68
|
add_message "event_store.client.projections.StatisticsResp" do
|
@@ -2,14 +2,15 @@
|
|
2
2
|
# Source: projections.proto for package 'event_store.client.projections'
|
3
3
|
|
4
4
|
require 'grpc'
|
5
|
-
|
5
|
+
require_relative 'projections_pb'
|
6
6
|
|
7
7
|
module EventStore
|
8
8
|
module Client
|
9
9
|
module Projections
|
10
10
|
module Projections
|
11
11
|
class Service
|
12
|
-
|
12
|
+
|
13
|
+
include ::GRPC::GenericService
|
13
14
|
|
14
15
|
self.marshal_class_method = :encode
|
15
16
|
self.unmarshal_class_method = :decode
|
@@ -24,7 +25,7 @@ module EventStore
|
|
24
25
|
rpc :Reset, ::EventStore::Client::Projections::ResetReq, ::EventStore::Client::Projections::ResetResp
|
25
26
|
rpc :State, ::EventStore::Client::Projections::StateReq, ::EventStore::Client::Projections::StateResp
|
26
27
|
rpc :Result, ::EventStore::Client::Projections::ResultReq, ::EventStore::Client::Projections::ResultResp
|
27
|
-
rpc :RestartSubsystem, ::EventStore::Client::
|
28
|
+
rpc :RestartSubsystem, ::EventStore::Client::Empty, ::EventStore::Client::Empty
|
28
29
|
end
|
29
30
|
|
30
31
|
Stub = Service.rpc_stub_class
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: serverfeatures.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require_relative 'shared_pb'
|
7
|
+
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_file("serverfeatures.proto", :syntax => :proto3) do
|
10
|
+
add_message "event_store.client.server_features.SupportedMethods" do
|
11
|
+
repeated :methods, :message, 1, "event_store.client.server_features.SupportedMethod"
|
12
|
+
optional :event_store_server_version, :string, 2
|
13
|
+
end
|
14
|
+
add_message "event_store.client.server_features.SupportedMethod" do
|
15
|
+
optional :method_name, :string, 1
|
16
|
+
optional :service_name, :string, 2
|
17
|
+
repeated :features, :string, 3
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
module EventStore
|
23
|
+
module Client
|
24
|
+
module ServerFeatures
|
25
|
+
SupportedMethods = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.server_features.SupportedMethods").msgclass
|
26
|
+
SupportedMethod = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.server_features.SupportedMethod").msgclass
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: serverfeatures.proto for package 'event_store.client.server_features'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require_relative 'serverfeatures_pb'
|
6
|
+
|
7
|
+
module EventStore
|
8
|
+
module Client
|
9
|
+
module ServerFeatures
|
10
|
+
module ServerFeatures
|
11
|
+
class Service
|
12
|
+
|
13
|
+
include ::GRPC::GenericService
|
14
|
+
|
15
|
+
self.marshal_class_method = :encode
|
16
|
+
self.unmarshal_class_method = :decode
|
17
|
+
self.service_name = 'event_store.client.server_features.ServerFeatures'
|
18
|
+
|
19
|
+
rpc :GetSupportedMethods, ::EventStore::Client::Empty, ::EventStore::Client::ServerFeatures::SupportedMethods
|
20
|
+
end
|
21
|
+
|
22
|
+
Stub = Service.rpc_stub_class
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -3,33 +3,75 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
+
require 'google/protobuf/empty_pb'
|
7
|
+
|
6
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
9
|
add_file("shared.proto", :syntax => :proto3) do
|
8
|
-
add_message "event_store.client.
|
10
|
+
add_message "event_store.client.UUID" do
|
9
11
|
oneof :value do
|
10
|
-
optional :structured, :message, 1, "event_store.client.
|
12
|
+
optional :structured, :message, 1, "event_store.client.UUID.Structured"
|
11
13
|
optional :string, :string, 2
|
12
14
|
end
|
13
15
|
end
|
14
|
-
add_message "event_store.client.
|
16
|
+
add_message "event_store.client.UUID.Structured" do
|
15
17
|
optional :most_significant_bits, :int64, 1
|
16
18
|
optional :least_significant_bits, :int64, 2
|
17
19
|
end
|
18
|
-
add_message "event_store.client.
|
20
|
+
add_message "event_store.client.Empty" do
|
21
|
+
end
|
22
|
+
add_message "event_store.client.StreamIdentifier" do
|
23
|
+
optional :stream_name, :bytes, 3
|
24
|
+
end
|
25
|
+
add_message "event_store.client.AllStreamPosition" do
|
26
|
+
optional :commit_position, :uint64, 1
|
27
|
+
optional :prepare_position, :uint64, 2
|
28
|
+
end
|
29
|
+
add_message "event_store.client.WrongExpectedVersion" do
|
30
|
+
oneof :current_stream_revision_option do
|
31
|
+
optional :current_stream_revision, :uint64, 1
|
32
|
+
optional :current_no_stream, :message, 2, "google.protobuf.Empty"
|
33
|
+
end
|
34
|
+
oneof :expected_stream_position_option do
|
35
|
+
optional :expected_stream_position, :uint64, 3
|
36
|
+
optional :expected_any, :message, 4, "google.protobuf.Empty"
|
37
|
+
optional :expected_stream_exists, :message, 5, "google.protobuf.Empty"
|
38
|
+
optional :expected_no_stream, :message, 6, "google.protobuf.Empty"
|
39
|
+
end
|
40
|
+
end
|
41
|
+
add_message "event_store.client.AccessDenied" do
|
19
42
|
end
|
20
|
-
add_message "event_store.client.
|
21
|
-
optional :
|
43
|
+
add_message "event_store.client.StreamDeleted" do
|
44
|
+
optional :stream_identifier, :message, 1, "event_store.client.StreamIdentifier"
|
45
|
+
end
|
46
|
+
add_message "event_store.client.Timeout" do
|
47
|
+
end
|
48
|
+
add_message "event_store.client.Unknown" do
|
49
|
+
end
|
50
|
+
add_message "event_store.client.InvalidTransaction" do
|
51
|
+
end
|
52
|
+
add_message "event_store.client.MaximumAppendSizeExceeded" do
|
53
|
+
optional :maxAppendSize, :uint32, 1
|
54
|
+
end
|
55
|
+
add_message "event_store.client.BadRequest" do
|
56
|
+
optional :message, :string, 1
|
22
57
|
end
|
23
58
|
end
|
24
59
|
end
|
25
60
|
|
26
61
|
module EventStore
|
27
62
|
module Client
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
63
|
+
UUID = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.UUID").msgclass
|
64
|
+
UUID::Structured = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.UUID.Structured").msgclass
|
65
|
+
Empty = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.Empty").msgclass
|
66
|
+
StreamIdentifier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.StreamIdentifier").msgclass
|
67
|
+
AllStreamPosition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.AllStreamPosition").msgclass
|
68
|
+
WrongExpectedVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.WrongExpectedVersion").msgclass
|
69
|
+
AccessDenied = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.AccessDenied").msgclass
|
70
|
+
StreamDeleted = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.StreamDeleted").msgclass
|
71
|
+
Timeout = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.Timeout").msgclass
|
72
|
+
Unknown = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.Unknown").msgclass
|
73
|
+
InvalidTransaction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.InvalidTransaction").msgclass
|
74
|
+
MaximumAppendSizeExceeded = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.MaximumAppendSizeExceeded").msgclass
|
75
|
+
BadRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("event_store.client.BadRequest").msgclass
|
34
76
|
end
|
35
77
|
end
|