1. 首页
  2. 课程学习
  3. Java
  4. Kafka配置spring.cloud.stream.kafka.binder.zkNodes192.168.220.1

Kafka配置spring.cloud.stream.kafka.binder.zkNodes192.168.220.1

上传者: 2023-02-12 04:39:37上传 TXT文件 547B 热度 22次
配置依赖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
用户评论