Description

A notification objects assembler. It receives message requests with a content inside and extend it with an additional data like target URLs, tags, source parameters, etc. A target audience is also calculated here. The result is a message object that can be sent to the subscribers.

Important notes

In case of updating a service, it should be made both for:

  • directory-messages
  • directory-messages-spam

Data flow

Input

  • message requests from a rabbitmq

Output

  • firebase notifications

Configurations

  • MINIMUM_MESSAGE_BUILDER_CHUNK is used for requests batching. requests will be grouped together until sum of their sizes will be greater than this value. Default value is 1000