Skip to content

Commit

Permalink
Put the failed event batch position in the event handler response
Browse files Browse the repository at this point in the history
  • Loading branch information
woksin committed Oct 5, 2022
1 parent f22c465 commit 709c79d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Runtime/Events.Processing/EventHandlers.proto
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ message EventHandlerRegistrationRequest {
repeated artifacts.Artifact eventTypes = 4;
bool partitioned = 5;
optional string alias = 6;
// bool batched = 7; // Whether the processor is batched or not. TODO: We could drop this and have a flag in the Runtime that gets turned on for batching when using this version of the contracts or greater
bool batched = 7; // Whether the processor is batched or not.
}

message EventHandlerResponse {
services.ReverseCallResponseContext callContext = 1;
ProcessorFailure failure = 2; // If not set/empty - no failure
uint32 failedEventBatchPosition = 3; // The zero-indexed batch position of the event in the batch that failed.
}

message EventHandlerClientToRuntimeMessage {
Expand Down

0 comments on commit 709c79d

Please sign in to comment.