Starts in:
2 DAYS
3 HRS
54 MIN
33 SEC
Starts in:
2 D
3 H
54 M
33 S
Open Closed

RabbitMQ messages goes to wrong queues or messages lost sometimes #3392


User avatar
0
enes.koroglu created
  • ABP Framework version: v5.2.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

We use Distributed Event Bus via RabbitMQ to share data between two services which is also ABP project (v.4.4.4). v5.2.1 is publisher and v4.4.4 is subscriber.

We start v4.4.4 Project to create exchange and queues and to be sure we stop the project. Then we create messages from 5.2.1 project and then queues and exchange created on rabbitmq. We do this on test and dev environment. Sometimes we create a message on test go to project2test as we expect, sometimes go to project2dev and sometimes message does not appear anywhere. We tried true and false for useOutbox parameter and enabled outbox but nothing changed. We do not see any records on AbpEventOutbox on v5.2.1 publisher project.

RabbitMQ Generated Queues for environments and projects | Exchange | Queue | Environment | | --- | --- | --- | | project1testexch | project1test | test | | project1testexch | project2test | test | | project1devexch | project1dev | development | | project1devexch | project2dev | development |

AppSettings | project | environment | clientname | exchangename | | --- | --- | --- | --- | | project1 | test | project1test | project1testexch | | project2 | test | project2test | project1testexch | | project1 | dev | project1dev | project1devexch | | project2 | dev | project2dev | project1devexch |


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

    Hi,

    Can you share a project with me? shiwei.liang@volosoft.com I will check it out.

  • User Avatar
    0
    enes.koroglu created

    Hi liangshiwei,

    Send an email

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I will check it and back to you

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I test the project you provided, this is no problem.

    I suppose there might a problem with your RabbitMQ server, could you try with another RabbitMQ again?

    We do not see any records on AbpEventOutbox on v5.2.1 publisher project.

    This is expected, the record will be deleted after published

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06