The notifications microservice is an independently deployable component intended for sending various types of notifications. It provides a common abstraction layer on top of the various notification types and actual sending, tracking routines.
Notifier supports the most common notification types and platforms. The project aims to enable the user to only rely on notifier for client messaging/communication. Below are the supported notification types and implementations.
The microservice supports sending regular emails. The supported transports are:
- SMTP
- MailChimp / Mandril
The microservice supports sending SMS notifications. The supported transports are:
Push notifications to mobile devices are supported. As of now, only one provider is available:
You can call the notifier's REST API directly or use the provided Java client library. To use the client library add the following maven dependency:
<dependency>
<groupId>com.sflpro.notifier</groupId>
<artifactId>api-client-library</artifactId>
<version>1.4.5</version>
</dependency>
The API is documented using OpenAPI Specification(Swagger) and the documentation JSON is available under /swagger.json
once the notifier microservice has been started.
Notifier is dockerized and is easy to deploy as a docker container. For more details, see the images on docker hub:
https://hub.docker.com/r/sflpro/notifier & https://hub.docker.com/r/sflpro/notifier-worker