Open Closed

Publish the event to both Kafka and RabbitMQ #3069


User avatar
0
uyarbtrlp created
  • ABP Framework version: v5.1.1
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hello,

We want to publish the event to both Kafka and RabbitMQ at the same time. Are there any examples or suggestions about that?


1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    ABP supports only one event bus at the same time. because the ABP framework uses IDistributedEventBus to publish built-in events.

    However, you can try to inject RabbitMqDistributedEventBus or KafkaDistributedEventBus to publish your own events.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11