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.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on May 21, 2025, 13:37