【发布时间】:2020-12-27 11:41:17
【问题描述】:
我编写了一个 Spring 云流消息生成器,它成功地将有效负载发布到我本地引导服务器上的主题。我想将有效负载发布到我在 Confluent Cloud 上创建的主题上。我需要进行哪些配置更改?以下是正在运行的 localhost 的配置。
spring:
cloud:
stream:
bindings:
output:
destination: ordersTopic
content-type: application/json
kafka:
binder:
zkNodes: localhost
brokers: localhost
default-binder: kafka
【问题讨论】:
标签: apache-kafka spring-cloud-stream spring-cloud-stream-binder-kafka