Skip to content

Commit

Permalink
sync protos
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 6413f027c4203c7789d4266e3b817949db7d2d37
  • Loading branch information
shikhar authored and actions-user committed Mar 6, 2025
1 parent 27d31f0 commit b76861c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions s2/v1alpha/s2.proto
Original file line number Diff line number Diff line change
Expand Up @@ -377,11 +377,16 @@ message ReadSessionRequest {
// If no limit is specified, the session will remain open after catching up to the tail, and continue tailing as
// new messages are written to the stream.
ReadLimit limit = 3;
// Heartbeats can be enabled to monitor end-to-end session health.
// A heartbeat will be sent when the initial switch to real-time tailing happens,
// as well as when no records are available at a randomized interval between 5 and 15 seconds.
bool heartbeats = 4;
}

// Read session response.
message ReadSessionResponse {
// Response details for a read.
// This will not be set in case of a heartbeat message.
ReadOutput output = 1;
}

Expand Down

0 comments on commit b76861c

Please sign in to comment.