Skip to content

fix(server): use the configured Hazelcast event store map name - #5947

Merged
SteKoe merged 1 commit into
codecentric:masterfrom
Vineet829:fix-hazelcast-event-store-map-name
Nov 30, 2026
Merged

SteKoe merged 1 commit into
codecentric:masterfrom
Vineet829:fix-hazelcast-event-store-map-name

Conversation

@Vineet829

Copy link
Copy Markdown
Contributor

spring.boot.admin.hazelcast.event-store has no effect: the event store always uses the map spring-boot-admin-event-store. AdminServerHazelcastAutoConfiguration binds it to private final String nameEventStoreMap = DEFAULT_NAME_EVENT_STORE_MAP, a constant, so javac compiles getMap(this.nameEventStoreMap) to the default literal (ldc in the 4.1.5 jar). 8414415 made the field final, so 2.2.4 and later are affected.

#5726 moved the other two map names to @Value parameters. This does the same for the event store and corrects its metadata default, which says spring-boot-admin-application-store. A cluster that sets another name switches to that map. In a rolling upgrade that map starts empty, instances reappear as they re-register, and their notifications are skipped until their event versions pass those kept in the sent-notifications map. Added should_use_configured_event_store_map_name.

@Vineet829
Vineet829 requested a review from a team as a code owner November 20, 2026 22:24
@SteKoe
SteKoe enabled auto-merge (squash) November 30, 2026 07:06
@SteKoe
SteKoe merged commit 2db4de8 into codecentric:master Nov 30, 2026
2 checks 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.

2 participants