Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event Horizon unbreaking #98

Merged
merged 2 commits into from
Mar 15, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 21 additions & 3 deletions Source/Runtime/EventHorizon/Consumer.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,47 @@

syntax = "proto3";

import "Fundamentals/Artifacts/Artifact.proto";
import "Fundamentals/Execution/ExecutionContext.proto";
import "Fundamentals/Protobuf/Failure.proto";
import "Fundamentals/Protobuf/Uuid.proto";
import "Fundamentals/Services/ReverseCallContext.proto";
import "Fundamentals/Services/Ping.proto";
import "Runtime/EventHorizon/Subscriptions.proto";
import "Runtime/Events/Committed.proto";
import "google/protobuf/timestamp.proto";

package dolittle.runtime.eventhorizon;

option csharp_namespace = "Dolittle.Runtime.EventHorizon.Contracts";
option go_package = "go.dolittle.io/contracts/runtime/eventhorizon";


message EventHorizonCommittedEvent {
uint64 eventLogSequenceNumber = 1;
google.protobuf.Timestamp occurred = 2;
protobuf.Uuid eventSourceId = 3;
execution.ExecutionContext executionContext = 4;
artifacts.Artifact eventType = 5;
bool public = 6;
string content = 7;
bool external = 8;
uint64 externalEventLogSequenceNumber = 9;
google.protobuf.Timestamp externalEventReceived = 10;
string eventSourceIdString = 11;
}

message EventHorizonEvent {
uint64 streamSequenceNumber = 1;
events.CommittedEvent event = 2;
EventHorizonCommittedEvent event = 2;
}

message ConsumerSubscriptionRequest {
services.ReverseCallArgumentsContext callContext = 1;
protobuf.Uuid tenantId = 2;
protobuf.Uuid streamId = 3;
string partitionId = 4;
protobuf.Uuid partitionId = 4;
uint64 streamPosition = 5;
string partitionIdString = 6;
}

message ConsumerResponse {
Expand Down