diff --git a/README.md b/README.md index 2e57f6c..32fe97c 100644 --- a/README.md +++ b/README.md @@ -234,9 +234,18 @@ The app exposes the following [gRPC](https://grpc.io/) services : ## Messages +### Handled + +The service listens to these RabbitMQ messages: + +- **user.deleted** (to delete the associated ads) + +### Emitted + As mentionned earlier, RabbitMQ messages are sent after these events : -- **Create** (message : the created ad informations) +- **ad.created** (message: the created ad informations) +- **ad.deleted** (message: the id of the deleted ad) ## Tests / ESLint / Prettier