Actuator
ake sure you have spring-cloud-stream-redis installed,if you haven't, check out the Install。
Enable configuration
management:
endpoints:
web:
exposure:
include: '*'
endpoint:
health:
show-details: always
health:
binders:
enabled: true
redis:
enabled: false
Access path
/actuator/health
Example:
{
"status": "UP",
"components": {
"binders": {
"status": "UP",
"components": {
"redis": {
"status": "UP",
"details": {
"version": "7.1.2"
}
}
}
},
"ping": {
"status": "UP"
}
}
}