1

Got to know, how to configure spring cloud with eventhub kafka to send and receive message in a same namespace as below 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

However, in my case I need to receive from one eventhub and send it to different namespace, How can I configure ?

  • Try this link for multiple namespaces without kafka, it should be prety much the the same way for kafka as well https://github.com/Azure-Samples/azure-spring-boot-samples/tree/main/eventhubs/azure-spring-cloud-stream-binder-eventhubs/eventhubs-multibinders – user3182536 Feb 03 '22 at 17:55

1 Answers1

0

You can refer to the multi-binder sample of Spring Cloud Stream Kafka binder, https://github.com/spring-cloud/spring-cloud-stream-samples/tree/main/multi-binder-samples/multi-binder-two-kafka-clusters, it should be the same for working with Event Hubs

Yi Liu
  • 83
  • 4