uk.co.real_logic.artio.storage.storage-message-schema.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of artio-codecs Show documentation
Show all versions of artio-codecs Show documentation
High-Performance FIX Gateway
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <sbe:messageSchema xmlns:sbe="http://fixprotocol.io/2016/sbe" package="uk.co.real_logic.artio.storage.messages" id="666" version="11" semanticVersion="0.1" description="Internal storage format used by the FIX Gateway" byteOrder="littleEndian"> <types> <composite name="messageHeader" description="Message identifiers and length of message root"> <type name="blockLength" primitiveType="uint16"/> <type name="templateId" primitiveType="uint16"/> <type name="schemaId" primitiveType="uint16"/> <type name="version" primitiveType="uint16"/> </composite> <composite name="Utf8String"> <type name="length" primitiveType="uint16"/> <type name="varData" primitiveType="uint8" length="0" characterEncoding="UTF-8"/> </composite> <composite name="groupSizeEncoding" description="Repeating group dimensions"> <type name="blockLength" primitiveType="uint16"/> <type name="numInGroup" primitiveType="uint8" semanticType="NumInGroup"/> </composite> </types> <types> <type name="FixSessionId" primitiveType="int64"/> <type name="SequenceIndex" primitiveType="int32"/> <type name="LibraryId" primitiveType="int32"/> <type name="ConnectionId" primitiveType="int64"/> <enum name="Bool" encodingType="uint8"> <validValue name="TRUE">0</validValue> <validValue name="FALSE">1</validValue> </enum> </types> <!-- ARCHIVAL DATA STRUCTURES --> <sbe:message name="ReplayIndexRecord" id="5" description="Stores index information about a single record"> <field name="position" id="3" type="int64"/> <field name="sequenceNumber" id="4" type="int32"/> <field name="sequenceIndex" id="5" type="SequenceIndex"/> <field name="recordingId" id="6" type="int64"/> <field name="length" id="7" type="int32"/> </sbe:message> <!-- Timestamp Index --> <sbe:message name="TimeIndexRecord" id="33" description="Stores index information about a single record"> <field name="position" id="1" type="int64"/> <field name="timestamp" id="2" type="int64"/> </sbe:message> <!-- Sequence Number Cache Structure --> <sbe:message name="LastKnownSequenceNumber" id="19" description=""> <field name="sessionId" id="1" type="FixSessionId"/> <field name="sequenceNumber" id="2" type="int32"/> <field name="metaDataPosition" id="3" type="int32" sinceVersion="1"/> <field name="messagePosition" id="4" type="int64" sinceVersion="3"/> </sbe:message> <sbe:message name="IndexedPosition" id="25" description=""> <field name="streamId" id="1" type="int32"/> <field name="sessionId" id="2" type="int32"/> <field name="recordingId" id="4" type="int64"/> <field name="position" id="3" type="int64"/> </sbe:message> <!-- Session Id Store --> <sbe:message name="SessionId" id="28" description=""> <field name="sessionId" id="1" type="int64"/> <field name="sequenceIndex" id="2" type="SequenceIndex"/> <field name="logonTime" id="3" type="int64" /> <field name="compositeKeyLength" id="4" type="int32"/> <field name="lastSequenceResetTime" id="5" type="int64" /> <data name="lastFixDictionary" id="6" type="Utf8String" sinceVersion="3"/> </sbe:message> <sbe:message name="SenderAndTargetCompositeKey" id="26" description=""> <data name="localCompId" id="1" type="Utf8String"/> <data name="remoteCompId" id="2" type="Utf8String"/> </sbe:message> <sbe:message name="SenderTargetAndSubCompositeKey" id="27" description=""> <data name="localCompId" id="1" type="Utf8String"/> <data name="localSubId" id="2" type="Utf8String"/> <data name="remoteCompId" id="3" type="Utf8String"/> </sbe:message> <!-- FIXP contexts --> <sbe:message name="FixPContextWrapper" id="32" description="" sinceVersion="7"> <field name="protocolType" id="1" type="uint16"/> <field name="contextLength" id="2" type="uint16"/> </sbe:message> <sbe:message name="ILink3Context" id="29" description="" sinceVersion="4"> <field name="uuid" id="1" type="int64"/> <field name="port" id="2" type="int32"/> <data name="host" id="3" type="Utf8String"/> <data name="accessKeyId" id="4" type="Utf8String"/> </sbe:message> <!-- Recording Id Coordinator --> <sbe:message name="PreviousRecording" id="30" description="" sinceVersion="5"> <field name="reproductionRecordingId" id="3" type="int64" sinceVersion="11"/> <group name="inboundRecordings" id="1" dimensionType="groupSizeEncoding"> <field name="recordingId" id="10" type="int64"/> <field name="libraryId" id="12" type="LibraryId" sinceVersion="10"/> </group> <group name="outboundRecordings" id="2" dimensionType="groupSizeEncoding"> <field name="recordingId" id="11" type="int64"/> <field name="libraryId" id="13" type="LibraryId" sinceVersion="10"/> </group> </sbe:message> <!-- Engine Information File --> <sbe:message name="EngineInformation" id="31" description="" sinceVersion="6"> <field name="heartbeatTimeInMs" id="1" type="int64"/> <data name="runtimeName" id="2" type="Utf8String" /> </sbe:message> <!-- Reproduction Log --> <sbe:message name="ConnectionBackpressure" id="34" description="" sinceVersion="11"> <field name="connectionId" id="1" type="ConnectionId"/> <field name="sequenceNumber" id="2" type="int32"/> <field name="isReplay" id="3" type="Bool"/> <field name="written" id="4" type="int32"/> </sbe:message> </sbe:messageSchema>