| sidebar_position | 40 | ||
|---|---|---|---|
| sidebar_custom_props |
|
Spring Boot Admin integrates seamlessly with various service discovery solutions and clustering technologies. This section covers how to set up and configure these integrations.
Instead of using the Spring Boot Admin Client library, you can leverage Spring Cloud Discovery services to automatically register applications:
- Eureka - Netflix Eureka service discovery
- Consul - HashiCorp Consul service mesh
- Zookeeper - Apache Zookeeper coordination service
- No client library dependency required
- Automatic discovery of new instances
- Built-in health checking
- Service metadata support
- Load balancing integration
For high-availability deployments, Spring Boot Admin supports clustering:
- Hazelcast - Distributed event store and coordination
- Shared event store across cluster nodes
- No single point of failure
- Automatic synchronization
- Distributed notifications
- You already have a service discovery infrastructure
- Running in a microservices environment
- Need automatic service registration
- Want to leverage existing service mesh features
- Simple deployment with few applications
- No service discovery infrastructure
- Need full control over registration
- Running in traditional environments
- Require high availability
- Multiple Admin Server instances
- Need shared state across servers
- Running in production with SLAs
Applications → Service Discovery (Eureka/Consul) ← Admin Server
Applications register with service discovery, Admin Server discovers them automatically.
Applications → Admin Server 1 ←→ Hazelcast ←→ Admin Server 2 ← Applications
Applications use client library, Admin Servers share state via Hazelcast.
Applications → Service Discovery ← Admin Server 1 ←→ Hazelcast ←→ Admin Server 2
Combines automatic discovery with high availability.
| Feature | Eureka | Consul | Zookeeper | Hazelcast |
|---|---|---|---|---|
| Type | Discovery | Discovery + KV | Coordination | Clustering |
| Setup Complexity | Medium | Medium | High | Low |
| Spring Cloud Support | Excellent | Excellent | Good | N/A |
| Health Checks | Built-in | Built-in | Custom | N/A |
| Metadata Support | Yes | Limited | Yes | N/A |
| HA | Yes | Yes | Yes | Yes |
| Persistence | In-memory | Persistent | Persistent | In-memory |
- Choose your integration based on your infrastructure
- Follow the specific guide for setup instructions
- Configure your applications appropriately
- Test the integration in development
- Deploy to production with monitoring
- Service Discovery - Client-side discovery configuration
- Clustering - Admin Server clustering details
- Samples - Working example projects