Replies: 1 comment
-
You can select to publish whichever eventbus you want by injecting the concrete type. Ex: Instead of injecting |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use PublishAsync of KafkaDistributedEventBus and RabbitMqDistributedEventBus in 2 different services sharing the same source code, but it only publishes both ETOs to the same location (either Kafka or RabbitMQ) depending on the placement of AbpEventBus...Module in DependsOn. If AbpEventBusKafkaModule is placed after both ETOs, they will be published to Kafka, while if AbpEventBusRabbitMqModule is placed after them, both ETOs will be published to RabbitMQ. My issue is that I want ETOs to be published to Kafka for the service using KafkaDistributedEventBus, and to RabbitMQ for the service using RabbitMqDistributedEventBus. Can anyone help me solve this problem? Thank you.
Beta Was this translation helpful? Give feedback.
All reactions