Skip to content

Conversation

@copybara-service
Copy link

feat: Introduce TailRetentionEventCompactor to compact and retain the tail of the event stream

Provide a way to manage the size of an event stream

Specifically, it:

  • Keeps the retentionSize most recent events raw.
  • Compacts all events that never compacted and older than the retained tail, including the most recent compaction events, into a new summary event.
  • Appends this new summary event to the end of the event stream.

… tail of the event stream

Provide a way to manage the size of an event stream

Specifically, it:

* Keeps the retentionSize most recent events raw.
* Compacts all events that never compacted and older than the retained tail, including the most recent compaction events, into a new summary event.
* Appends this new summary event to the end of the event stream.

PiperOrigin-RevId: 859936701
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant