Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Spring boot admin clustering with hazelcast

Open
#2,795 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
java, spring-boot

Research direction

Review the supplied Hazelcast clustering and map configuration alongside Spring Boot Admin's self-registration behavior; no source file, test, or entry point is named. Reproduce the deployment of a new application version in the clustered setup and determine why the old instance remains. Done means obsolete instances are removed from Spring Admin after an application replacement.

Written by the indexing model from the issue text.

Description

type: bug

Spring Boot Admin Server information

  • Version:
    3.1.4

  • Spring Boot version:
    3.0.9

  • Configured Security:
    N/A

  • Webflux or Servlet application:
    servlet

Client information

  • Spring Boot versions:
    3.0.9

  • Used discovery mechanism:
    self registration

  • Webflux or Servlet application:
    servlet

Description

The clustering is working fine and applications are being clustered on all servers. The problem is that if a new version of a given application is deployed, then the old instance is never removed from Spring Admin.

yaml

hazelcast:
cluster-name: spring-admin
metrics:
enabled: false
management-center:
enabled: false
retention-seconds: 30
jmx:
enabled: false
map:
spring-boot-admin-event-store:
backup-count: 1
in-memory-format: OBJECT
merge-policy:
batch-size: 100
class-name: PutIfAbsentMergePolicy
time-to-live-seconds: 30
eviction:
eviction-policy: NONE
spring-boot-admin-sent-notifications:
backup-count: 1
in-memory-format: OBJECT
merge-policy:
batch-size: 100
class-name: PutIfAbsentMergePolicy
time-to-live-seconds: 30
eviction:
eviction-policy: LRU
network:
reuse-address: true
outbound-ports:
- 33000-35000
port:
auto-increment: false
port: 5701
join:
auto-detection:
enabled: false
multicast:
enabled: false
tcp-ip:
enabled: false
aws:
enabled: true
hz-port: 5701
service-name: dev-admin-server
interfaces:
enabled: true
interfaces:
- 10.171.0-240.*

Dominant language
Java
Stars
12.9k
Forks
3.2k
Avg merge
23h 31m
Merged PRs (30d)
72

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from codecentric/spring-boot-admin

All issues in codecentric/spring-boot-admin

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.