You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First and foremost. Shout out to you on this framework and course. Has been the best investment I could ever have in my whole developer experience and I'm deeply thankful of what you have built within the community with NestJS. Now, if it's not too much to ask I would like to ask you about an issue I came up with the Inbox Pattern video in which after replicating exactly the same codebase as you (since the Outbox pattern video, even). I'm unable to receive within the rabbitmq channel the definition of the properties.messageId turning always as undefined. I already tried a couple approaches read around the Github Issues board of @nestjs and also most of the documentation regarding it. But unfortunately for some reason after from the Outbox Processor .
Error in behaviour raises after the request of creation at /buildings takes place by the following:
You are able to see that in that chunk of message. Several properties are undefined (which is kinda expected because they need the extra config). But the one regarding the messageId is set as undefined. I manage to make a bypass over this behaviour by reusing the same buildingId but I don't like that approach because I'm unable to understand what causes this issue. I hope to hear from you soon and thank you beforehand.
If anyone would like to check a little bit more regarding my codebase.
With usage of docker:
Go to root directory of the project:
Run docker compose up --build
After run that in a separate terminal to test it run: curl -X POST http://localhost:3000/buildings -H "Content-Type: application/json" -d '{"name": "Yet another building"}'
See possible behavior error
Expected behavior
Expected behavior. As in the microservice course of NestJS receive the message with the properties.messageId set.
Is there an existing issue for this?
Current behavior
First and foremost. Shout out to you on this framework and course. Has been the best investment I could ever have in my whole developer experience and I'm deeply thankful of what you have built within the community with NestJS. Now, if it's not too much to ask I would like to ask you about an issue I came up with the Inbox Pattern video in which after replicating exactly the same codebase as you (since the Outbox pattern video, even). I'm unable to receive within the rabbitmq channel the definition of the properties.messageId turning always as undefined. I already tried a couple approaches read around the Github Issues board of @nestjs and also most of the documentation regarding it. But unfortunately for some reason after from the Outbox Processor .
Error in behaviour raises after the request of creation at
![image](https://cdn.statically.io/img/private-user-images.githubusercontent.com/30613501/345092867-03fd5a74-500a-4cd4-8d74-5bd26426a113.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxODQxNTUsIm5iZiI6MTcyMDE4Mzg1NSwicGF0aCI6Ii8zMDYxMzUwMS8zNDUwOTI4NjctMDNmZDVhNzQtNTAwYS00Y2Q0LThkNzQtNWJkMjY0MjZhMTEzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA1VDEyNTA1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI1NjYxOWNjOGY1Y2UyNTBmOGFkMTE4MDNhMDljMDFmMWQ3YWVkOGNmNGFlZDVmZDBlYmFiZDFmNDQzOGJkOGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.x83CPGRxNiSLA021JtR8PiwrwZ3_4pR8ttnJlU2sEzk)
/buildings
takes place by the following:You are able to see that in that chunk of message. Several properties are undefined (which is kinda expected because they need the extra config). But the one regarding the messageId is set as undefined. I manage to make a bypass over this behaviour by reusing the same buildingId but I don't like that approach because I'm unable to understand what causes this issue. I hope to hear from you soon and thank you beforehand.
If anyone would like to check a little bit more regarding my codebase.
Minimum reproduction code
https://github.com/CosmicTiger/virtual-facility-nestjs-ms-extension/tree/main/apps
Steps to reproduce
With usage of docker:
Go to root directory of the project:
docker compose up --build
curl -X POST http://localhost:3000/buildings -H "Content-Type: application/json" -d '{"name": "Yet another building"}'
Expected behavior
Expected behavior. As in the microservice course of NestJS receive the message with the
properties.messageId
set.Package
@nestjs/common
@nestjs/core
@nestjs/microservices
@nestjs/platform-express
@nestjs/platform-fastify
@nestjs/platform-socket.io
@nestjs/platform-ws
@nestjs/testing
@nestjs/websockets
Other package
amqplib
NestJS version
10.0.0
Packages versions
Node.js version
v21.6.1
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: