当我运行kafka-streams-word-count示例时。
执行器的健康检查失败 http://localhost:8080/actuator/health
{
"status": "DOWN",
"components": {
"binders": {
"status": "DOWN",
"components": {
"globalktable": {
"status": "DOWN",
"details": {
"No topic information available": "Kafka broker is not reachable"
}
},
"kstream": {
"status": "DOWN",
"details": {
"No topic information available": "Kafka broker is not reachable"
}
},
"ktable": {
"status": "DOWN",
"details": {
"No topic information available": "Kafka broker is not reachable",
"error": "java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.TimeoutException: The AdminClient thread is not accepting new calls."
}
}
}
},
"diskSpace": {
"status": "UP",
"details": {
"total": 250685575168,
"free": 25818120192,
"threshold": 10485760
}
},
"ping": {
"status": "UP"
}
}
}
我以这种方式在本地运行kafka:
docker run -e ADV_HOST = 127.0.0.1 -e EULA =“ https://dl.lenses.io/d/?id = ...” --rm -p 3030:3030 -p 9092:9092 lensio / box