You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature: Allow to configure instance event store max size #5604
changed the title [-]Feature: Allow to configure max instance event store size[/-][+]Feature: Allow to configure instance event store max size[/+]on Aug 9, 2026
the hardcoded value 100 is only used as a fallback in the AutoConfiguration when no EventStore is provided. To avoid the AutoConfiguration creating one automatically, you can simply instantiate an InstanceEventStore with any desired size yourself.
Fair enough. It's an overkill, but indeed it's possible.
Of course, in general, we can overtake any bean with our own and redefine everything, but is this really the correct way forward you want to suggest to your consumers?
Hi @cdprete@ulischulte@hzpz, since this was just labeled as an enhancement, I'd like to try implementing it if it's still up for grabs. My plan: add a configuration property (something like spring.boot.admin.monitor.event-store.max-size or similar, exact naming open to suggestion) that gets wired into the ConcurrentMapEventStore auto-configuration in place of the hardcoded 100, defaulting to 100 to keep current behavior unchanged. Let me know if that approach sounds right or if you'd prefer it named/structured differently before I start.
Hi @cdprete@ulischulte@hzpz, since this was just labeled as an enhancement, I'd like to try implementing it if it's still up for grabs. My plan: add a configuration property (something like spring.boot.admin.monitor.event-store.max-size or similar, exact naming open to suggestion) that gets wired into the ConcurrentMapEventStore auto-configuration in place of the hardcoded 100, defaulting to 100 to keep current behavior unchanged. Let me know if that approach sounds right or if you'd prefer it named/structured differently before I start.
Activity
[-]Feature: Allow to configure max instance event store size[/-][+]Feature: Allow to configure instance event store max size[/+]ulischulte commentedon Aug 14, 2026
Hi @cdprete,
the hardcoded value 100 is only used as a fallback in the AutoConfiguration when no EventStore is provided. To avoid the AutoConfiguration creating one automatically, you can simply instantiate an InstanceEventStore with any desired size yourself.
cdprete commentedon Aug 14, 2026
Hi @ulischulte.
Fair enough. It's an overkill, but indeed it's possible.
Of course, in general, we can overtake any bean with our own and redefine everything, but is this really the correct way forward you want to suggest to your consumers?
ulischulte commentedon Aug 21, 2026
At least, that is the currently documented method for configuring the EventStore, referenced here Persistence and Event Store
PineeAppleee commentedon Sep 5, 2026
Hi @cdprete @ulischulte @hzpz, since this was just labeled as an enhancement, I'd like to try implementing it if it's still up for grabs. My plan: add a configuration property (something like spring.boot.admin.monitor.event-store.max-size or similar, exact naming open to suggestion) that gets wired into the ConcurrentMapEventStore auto-configuration in place of the hardcoded 100, defaulting to 100 to keep current behavior unchanged. Let me know if that approach sounds right or if you'd prefer it named/structured differently before I start.
cdprete commentedon Sep 5, 2026
Sounds good to me, but it's not on me to decide.