-
Notifications
You must be signed in to change notification settings - Fork 123
Data Flow Between Services
Data flow between services is very simple. It always happens over HTTP, and it happens either via an API call made to that particular service, or via listening to events emitted from that particular service.
Data is never accessed directly from the on-disk or databases.
API calls allow a service to make an API call against the service. Each service exposes its own API that should adhere closely to a RESTful implementation. Each service describes its API endpoints in its Service Type Definition File.
API calls also support a limited query language in order to retrieve more advanced result sets. Information about the syntax of the query language can be found in the Query Language page.
Events emitted by a service can be listened for, and then acted upon accordingly. There is an Action field in the event data that is emitted, that will state what action occurred for this event to be emitted. Current actions are create, update, and delete. The details of what data is sent within an event can be found in its Service Type Definition File.