Skip to content

Streaming.proto (Paritech.OMS2.Protocol)

Describes an streaming event returned from OMS

NoFieldTypeLabelDescription
1VersionStreamingVersionThe protocol version for this streaming update
2TypeEventMessageTypeThe type of event that occurred
9RequestRequestDetailsThe details of the original RPC request, if this is in response to one
10SubscriptionSubscriptionDetailsThe details of any subscription being created or released
18SnapshotSnapshotPositionThe position of the snapshot, when Type=SnapshotStart
19PositionUpdatePositionThe position of the updates within this message
20UpdatesUpdateEventrepeatedThe details of any Updates that have occurred
30FeedFeedEventThe details of any feed event that occurred
40RequestResponseClientRequestResponseDescribes the response to a Client Request

Describes the configuration of a Feed

NoFieldTypeLabelDescription
1NamestringThe named feed this configuration belongs to
10AgentstringThe agent supplying the feed
11TimestampTimestampWithTimeZoneThe time this configuration was last updated
19SettingsMap<string,string>Any settings associated with the Feed

Represents an event sent from OMS relating to management of a feed

NoFieldTypeLabelDescription
1TypeFeedEventTypeThe type of event that occurred
3RequestIDint64The identifier of the RPC request being made, if any
10PositionFeedPositionDescribes the feed this event relates to, plus the position for Bookmark and Resume operations
19ConfigurationFeedConfigurationDescribes the latest configuration on a Resume operation
20RequestClientRequestDescribes a request to the external feed
21QueryFeedQueryDescribes a query to the external feed

Describes a position into a feed

NoFieldTypeLabelDescription
1SequencestringThe named feed this update belongs to
2Positionint64The update position within the named feed

Describes a feed-specific query for a Feed

NoFieldTypeLabelDescription
1TypestringThe type of the query
2TagstringA client-specified tag for the query
19ParametersMap<string,string>Any parameters associated with the Query
20QueryDatabytesAny raw data associated with the Query

Represents an operation sent to OMS related to an external feed

NoFieldTypeLabelDescription
1TypeFeedRequestTypeThe type of request being made
3RequestIDint64The identifier of the RPC request being responded to, if any
10PositionFeedPositionDescribes the feed this operation relates to, plus the position for Submit operations
11StatusFeedDetailsDescribes the status for Status operations
19ConfigurationFeedConfigurationDescribes the feed configuration being submitted on a Configure operation
20OperationOperationDescribes the operation being submitted
21ActionExternalActionDescribes the action being submitted
22RequestClientRequestThe details of a Client Request being processed by this feed
23UpdateClientRequestUpdateDescribes the request update being submitted
30LegacyUpdateUpdateA legacy protocol update
31LegacyTradeTradeA legacy protocol trade
32LegacyRequestRequestUpdateA legacy protocol request update
33LegacyTransactionTransactionA legacy protocol one-off transaction
40RequestResponseClientRequestResponseDescribes the response to a Client Request
41QueryResponseFeedResponseDescribes the response to a Feed Query

Describes the response to a feed-specific query

NoFieldTypeLabelDescription
1TypestringThe type of the query that was made
2TagstringThe client-specified tag for the original query
10ErrorsstringrepeatedAny error(s) that occurred during processing
19ParametersMap<string,string>Any parameters associated with the response
20QueryDatabytesAny raw data associated with the response

Describes the original RPC request

NoFieldTypeLabelDescription
2TypeRequestMessageTypeThe type of request that was made
3RequestIDstringThe identifier of the RPC request
9Referenceint32optionalA reference number, if relevant
10ErrorsstringrepeatedAny error(s) that occurred during processing

Describes a streaming request sent to OMS

NoFieldTypeLabelDescription
1VersionStreamingVersionThe protocol version for this streaming request
2TypeRequestMessageTypeThe type of request being made
3RequestIDstringThe identifier of the RPC request, if any
10SubscriptionSubscriptionDetailsThe details of any subscription request being submitted
20RequestClientRequestThe details of an Order request being submitted
29FeedFeedRequestThe details of a Feed request being submitted

Describes the position of a Snapshot

NoFieldTypeLabelDescription
1PositionsMap<string,int64>The set of named sequences and their current positions

Describes the position of an Update

NoFieldTypeLabelDescription
1SequencestringThe named sequence this update belongs to. If omitted, represents an out-of-band update that does not update the Position
2Positionint64The update position within the named sequence
9ExecutedAtTimestampWithTimeZoneThe date and time the update was processed

Identifies the type of Event Message

NameNumberDescription
EventMessageType_Unknown0Unknown/invalid event type
EventMessageType_Response99Response to a request
EventMessageType_SnapshotStart100Beginning a snapshot for a subscription
EventMessageType_SnapshotFinish101Ending a snapshot for a subscription
EventMessageType_Bookmark109Bookmark after a sequence of events are skipped
EventMessageType_Update200Update to the System
EventMessageType_Feed300Update related to an external Feed

Identifies an event specific to an external feed

NameNumberDescription
FeedEventType_Unknown0Unknown/invalid event type
FeedEventType_Open10Notification that the connection can send messages for this Feed
FeedEventType_Resume11The external feed should resume sending from this index
FeedEventType_Suspend12Foundry cannot receive messages for this feed at this present time
FeedEventType_Bookmark18The external feed has been consumed to the given index, and will not require earlier events
FeedEventType_Close19Notification that all messages sent before Close have been written
FeedEventType_Request20A Client Request has been routed to this Feed
FeedEventType_Query21A query has been received for this Feed

Identifies a request relating to an external feed

NameNumberDescription
FeedRequestType_Unknown0Unknown/invalid request type
FeedRequestType_Open10The connection wishes to supply this feed
FeedRequestType_Status11The feed is updating its status
FeedRequestType_Configure12The feed is updating its configuration
FeedRequestType_Bookmark18The feed wants to cleanup buffered updates
FeedRequestType_Close19The connection will stop supplying this feed
FeedRequestType_Operation20The feed is submitting an operation
FeedRequestType_Action21The feed is submitting an external action
FeedRequestType_Request22The feed is submitting a Client Request being processed by this feed
FeedRequestType_Update23The feed is submitting a request update
FeedRequestType_LegacyUpdate30The feed is submitting a legacy update
FeedRequestType_LegacyTrade31The feed is submitting a legacy trade
FeedRequestType_LegacyRequest32The feed is submitting a legacy request update
FeedRequestType_LegacyTransaction33The feed is submitting a legacy transaction
FeedRequestType_RequestResponse40The feed is responding to a Client Request
FeedRequestType_QueryResponse41The feed is responding to a Feed Query

Identifies the type of Request Message

NameNumberDescription
RequestMessageType_Unknown0Unknown/invalid request type
RequestMessageType_Subscribe10A request to subscribe for updates
RequestMessageType_Unsubscribe11A request to unsubscribe to updates
RequestMessageType_Synchronise19Ensures all outstanding messages have been received
RequestMessageType_ClientRequest20A client request is being submitted
RequestMessageType_FeedRequest29A feed request is being submitted

Identifies the streaming protocol version

NameNumberDescription
StreamingVersion_Initial0Initial schema