Skip to content

fix: add per-stream MaxBytes/MaxAge config for LLMLog stream#1246

Merged
HaiHui886 merged 1 commit into
mainfrom
sync_mr_2694_6be9a64
Jul 9, 2026
Merged

fix: add per-stream MaxBytes/MaxAge config for LLMLog stream#1246
HaiHui886 merged 1 commit into
mainfrom
sync_mr_2694_6be9a64

Conversation

@Rader

@Rader Rader commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Summary:

  • Adds MaxBytes (default 5 GiB) and MaxAge (default 7 days) configuration to the LLMLog stream to prevent unbounded storage growth on NATS JetStream.
  • Applies these limits directly to the stream consumer to automatically discard old messages and enforce size constraints, leveraging existing S3 sync for data retention.

@Rader

Rader commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator Author

Depends on #1245

@HaiHui886 HaiHui886 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@HaiHui886
HaiHui886 merged commit 061d462 into main Jul 9, 2026
7 checks passed
@HaiHui886
HaiHui886 deleted the sync_mr_2694_6be9a64 branch July 9, 2026 05:41
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.

3 participants