Open Closed

Publish the event to both Kafka and RabbitMQ #3069


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)
  • 0
    liangshiwei created
    Support Team

    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.