/nestjs-rabbitmq-problem

Reproduction of https://github.com/nestjs/nest/issues/1245

Primary LanguageTypeScript

Nest js rabbitmq problem

nestjs/nest#1245

Occurs when there are more than one microservices (other than gateway)

Requirements

  • Docker/docker-compose

Steps

  1. docker-compose up -d
  2. Visit http://127.0.0.1:3000/graphql and run:
    {
      users {
        id
        name
      }
    }
  1. Run it several times, one will succeed, the next will fail. This pattern will repeat.