Skip to content

Configure instance event store maximum size - #5738

Merged
hzpz merged 1 commit into
codecentric:masterfrom
shivanshmishra54:shivanshmishra54-configurable-event-store-size
Oct 2, 2026
Merged

hzpz merged 1 commit into
codecentric:masterfrom
shivanshmishra54:shivanshmishra54-configurable-event-store-size

Conversation

@shivanshmishra54

Copy link
Copy Markdown
Contributor

Summary

  • add spring.boot.admin.event-store.max-log-size-per-aggregate, defaulting to 100
  • apply the configured limit to the built-in in-memory and Hazelcast event stores
  • document the property and add auto-configuration coverage for both stores

Closes #5604

Validation

  • Focused Maven tests: 9 passed, 0 failures/errors
  • Checkstyle passed
  • Spring Java Format passed
  • git diff --check passed

Add a Spring Boot property for the maximum number of events retained per instance and apply it to the built-in event stores. Document the new configuration and cover both in-memory and Hazelcast auto-configuration.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@shivanshmishra54
shivanshmishra54 requested a review from a team as a code owner October 1, 2026 15:09
@hzpz

hzpz commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Thank you for your contribution, looks good to me!

@hzpz
hzpz enabled auto-merge (squash) October 2, 2026 06:44
@hzpz
hzpz disabled auto-merge October 2, 2026 06:45
@hzpz
hzpz enabled auto-merge (squash) October 2, 2026 06:45
@hzpz
hzpz merged commit 6831e43 into codecentric:master Oct 2, 2026
1 check passed
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.

Feature: Allow to configure instance event store max size

2 participants