Abrir Fechadas

Publish the event to both Kafka and RabbitMQ #3069


User avatar
0
uyarbtrlp criada
  • 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 resposta (s)
  • User Avatar
    0
    liangshiwei criada
    Equipe de Apoio 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 março 25, 2024, 15:11