codecentric / codecentric/spring-boot-admin

Spring boot admin clustering with hazelcast

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

Nobody has claimed this yet.

type: bug
Dominant language
Java
Stars
12.9k
Forks
3.1k
Avg merge
19h 1m
Merged PRs (30d)
61

Description

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.*

Contributor guide

Open the contributing guide

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.