Starts in:
1 DAY
19 HRS
43 MIN
49 SEC
Starts in:
1 D
19 H
43 M
49 S
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 v9.1.0-preview. Updated on November 20, 2024, 13:06