Allow EmbeddedEventStore to be configured via application.properties#4466
Merged
smcvb merged 4 commits intoaxon-4.13.xfrom Apr 28, 2026
Merged
Allow EmbeddedEventStore to be configured via application.properties#4466smcvb merged 4 commits intoaxon-4.13.xfrom
smcvb merged 4 commits intoaxon-4.13.xfrom
Conversation
Users who need to disable the event consumption optimization (e.g. to avoid memory pressure during replay or migration) previously had to either set a JVM system property or override the entire EmbeddedEventStore bean in their autoconfiguration. The new EmbeddedEventStoreProperties class exposes the most relevant tuning parameters via application.properties: axon.eventstore.optimize-event-consumption=false axon.eventstore.cached-events=5000 axon.eventstore.fetch-delay=500ms axon.eventstore.cleanup-delay=5s The JVM system property optimize-event-consumption continues to work unchanged. The default for all settings remains the same as before. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
smcvb
reviewed
Apr 28, 2026
smcvb
reviewed
Apr 28, 2026
|
❌ The last analysis has failed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Users who need to disable the event consumption optimization (e.g. to
avoid memory pressure during replay or migration) previously had to
either pass a JVM system property or override the auto-configured
EmbeddedEventStore bean entirely.
A new EmbeddedEventStoreProperties class exposes the most relevant
EmbeddedEventStore builder parameters under the axon.eventstore prefix:
axon.eventstore.optimize-event-consumption (default: true)
axon.eventstore.cached-events (default: 10000)
axon.eventstore.fetch-delay (default: 1000ms)
axon.eventstore.cleanup-delay (default: 10000ms)
The JVM system property optimize-event-consumption continues to work
unchanged. All defaults are identical to the previous behaviour.
Reference guide updated with a description of each property and a note
on the memory implications of the count-based cache limit.