codecentric / codecentric/spring-boot-admin
Selective Hazelcast support
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 12.9k
- Forks
- 3.1k
- Avg merge
- 19h 1m
- Merged PRs (30d)
- 61
Description
Hello.
Enhancement
To my understanding of the docs at https://docs.spring-boot-admin.com/3.5.5/docs/server/server#clustering and from trials I did in the past, to have Hazelcast clustering support in an SBA server, both the notification and event maps need to be configured, because otherwise it would crash (e.g.: https://github.com/codecentric/spring-boot-admin/issues/4258).
Given the weird behavior in https://github.com/codecentric/spring-boot-admin/issues/4599, which is not fixable if not by destroying the environment completely (on rolling updates / zero-downtime deployments, the event cache gets migrated from one old node to new one which is starting automatically), I would like to have the possibility to have only the notifications clustered - in order to avoid duplicates - and not the events as well.
Of course, to make the feature generic enough and profitable also by others, ideally it should be possible to say for each of the caches if they should be created or not.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the server clustering documentation and the behavior described in issues #4258 and #4599. Determine how notification and event caches are configured, then make cache creation independently selectable so notifications can be clustered without events; done means the requested selective configuration works without the reported crashes or duplicate notifications.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100