MerrionComputing / EventsSourcing-on-Azure-Functions

A library to demonstrate doing Event Sourcing as a data persistence mechanism for Azure Functions
MIT License
103 stars 20 forks source link

Notification when a projection completes #30

Closed MerrionComputing closed 4 years ago

MerrionComputing commented 4 years ago

When a projection completes it should post a notification by Event Grid which, in turn, can be used to set up an event carried state transfer style microservices application.

(It can also be used to write snapshots on a per projection basis)

MerrionComputing commented 4 years ago

See also #18

MerrionComputing commented 4 years ago

Needs to be configurable by a setting RaiseProjectionCompletedNotification to keep costs down if it is not being used.

MerrionComputing commented 4 years ago

Add the projection payload as a JSON-ified object. (The recipient needs to know what to do with the data package anyway)

MerrionComputing commented 4 years ago

Complete - projection state is sent in the message payload as the "value" property