Kafka配置spring.cloud.stream.kafka.binder.zkNodes192.168.220.1
配置依赖dependency groupId org.springframework.cloud groupId artifactId spring cloud starter bus kafka artifactId dependency Kafka配置spring.cloud.stream.kafka.binder.zkNodes192.168.220.1282181spring.cloud.stream.kafka.binder.brokers192.168.220.1289092management endpoints web exposure include health info refresh bus refresh配置刷新curl X POST http localhost7002actuator bus refresh测试http localhost7001test http localhost7002test
用户评论