When a publisher sends a message, subscribers receive the message and load it into the appropriate data store.
Subscribers are configured to listen for message deliveries from one or more publishers.
There are two primary subscribers: the RAPCache subscriber and the RAPStore subscriber. Because RAP is intended to provide immediate data access and persistent data storage, both subscribers should listen for message deliveries from the same publishers. This ensures that the same data is loaded simultaneously into the RAPCache database and the RAPStore database.
In addition to the two primary subscribers, there is also a demo subscriber which demonstrate how messages flow through RAP.