What is the role of the spring-boot-starter-actuator dependency?
The actuator starter adds health checks, metrics and diagnostic endpoints to Spring Boot. See how to expose, secure and customise them with Micrometer.
Spread Your Knowledge. Questions with answers, tutorials and articles, newest first.
The actuator starter adds health checks, metrics and diagnostic endpoints to Spring Boot. See how to expose, secure and customise them with Micrometer.
The /actuator/metrics endpoint lists Micrometer metrics for JVM, HTTP and databases. See how to enable it, read a metric and export to Prometheus.
Add Actuator and the Micrometer Prometheus registry, expose the endpoint, record custom metrics and scrape them with Prometheus and Grafana.
Learn why a Kubernetes Service matters: stable IP and DNS, load balancing, ClusterIP, NodePort and LoadBalancer types, with YAML and troubleshooting steps.
Containerise a Spring Boot app, deploy it on Kubernetes and expose it with ClusterIP, NodePort or LoadBalancer Services and health probes.

विक्रमशिला विश्वविद्यालय प्राचीन भारत का एक प्रमुख शिक्षा केंद्र था। जानें इसकी स्थापना, शिक्षा प्रणाली, प्रसिद्ध विद्वान, योगदान और पतन की विस्तृत जानकारी।
A Kubernetes Deployment declares the desired state of a stateless app and manages Pods through ReplicaSets, with rolling updates, rollbacks and scaling.
Containerize a Spring Boot app, add Actuator liveness and readiness probes, and deploy it to Kubernetes with a Deployment, Service, ConfigMap and resource limits.
docker-compose.yml describes all services of an application in one file. See a Spring Boot and PostgreSQL example and Spring Boot 3.1 Docker Compose support.
The Dockerfile builds the container image for a Spring Boot app. Learn multi-stage builds, layered JARs and production settings.
@Scheduled runs a Spring bean method at fixed intervals or cron times. Learn how to enable it, which attributes to use and the pitfalls to avoid.
Run recurring jobs in Spring Boot with @Scheduled: fixedRate, fixedDelay, cron expressions, property-based schedules, thread pools and multi-instance locking.
@CacheEvict invalidates cached data in Spring when the source changes. Five practical scenarios, a test and the mistakes to avoid.
@CachePut always runs the method and stores its return value in the cache. Learn the key rules, conditions and pitfalls with a Spring Boot example.
Build an HttpGraphQlClient or HttpSyncGraphQlClient in Spring Boot, send GraphQL queries and mutations, map the response to Java types and handle errors.
Spring Boot auto-configures a CacheManager from your classpath. Learn the spring.cache properties and customizers for Caffeine, Redis and Ehcache 3.
Step-by-step Spring Boot caching: enable it, use @Cacheable, @CachePut and @CacheEvict, configure Caffeine with size and expiry, and avoid pitfalls.
Use @RestControllerAdvice, @ExceptionHandler and ProblemDetail to return consistent, safe error responses from a Spring Boot REST API.
Use RestClient for synchronous calls and WebClient for reactive ones. This guide shows GET, POST, PUT and DELETE, error handling, timeouts and moving off RestTemplate.
RestTemplate is Spring's blocking HTTP client for consuming REST APIs. Learn how to configure and use it, and why RestClient is now preferred.