Properties

This section provides full details of all the properties used by the Atoti Notification Service.

All properties are defined in Spring Boot Configuration Property classes. This ensures that each property has a single source of truth for default values, and allows properties to be added throughout the codebase in a type-safe, reusable manner.

Where appropriate, properties are configured with default values. These defaults can be overridden by adding the property to an application.yml file and setting the new value. With appropriate IDE settings you can benefit from auto-completion and inline documentation when setting these properties in an application.yml or application.properties file.

Spring Boot properties

The following properties are defined by Spring Boot and are used by Atoti Notification Service.

Property Description Default value
spring.application.name The name of the application. The service uses this to identify notifications from different applications. Unnamed Spring Server

Module properties

Key Description Default value
notification-service.emitter-timeout The timeout on each Event Source that a client opens to receive real-time notifications 8h
notification-service.initial-notification-mode Determines whether to send notifications upon initial subscription or not. Default value is SEND_ALL.