【问题标题】:Spring cloud azure kafka binding with multiple eventhub namespace具有多个 eventthub 命名空间的 Spring Cloud azure kafka 绑定
【发布时间】:2021-06-22 08:56:15
【问题描述】:

知道了,如何使用 eventthub kafka 配置 spring cloud 以在如下相同的命名空间中发送和接收消息 https://github.com/MicrosoftDocs/azure-dev-docs/blob/master/articles/java/spring-framework/configure-spring-cloud-stream-binder-java-app-kafka-azure-event-hub.md

但是,在我的情况下,我需要从一个 eventthub 接收并将其发送到不同的命名空间,我该如何配置?

【问题讨论】:

标签: spring-boot spring-cloud spring-cloud-stream spring-cloud-azure


【解决方案1】:

您可以参考 Spring Cloud Stream Kafka binder 的 multi-binder 示例,https://github.com/spring-cloud/spring-cloud-stream-samples/tree/main/multi-binder-samples/multi-binder-two-kafka-clusters,使用 Event Hubs 应该是一样的

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-04-29
    • 1970-01-01
    • 2015-09-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-08-29
    • 1970-01-01
    相关资源
    最近更新 更多