ebe-journal.8.5.7.source-code.journal-schema.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <sbe:messageSchema xmlns:sbe="http://fixprotocol.io/2016/sbe" xmlns:xi="http://www.w3.org/2001/XInclude" package="io.camunda.zeebe.journal.file" id="7" version="2" semanticVersion="${project.version}" description="Zeebe Journal Record Schema" byteOrder="littleEndian"> <xi:include href="../../../../protocol/src/main/resources/common-types.xml"/> <types> <!-- binary data --> <composite name="blob"> <type name="length" primitiveType="uint32" maxValue="2147483647"/> <type name="varData" primitiveType="uint8" length="0"/> </composite> </types> <sbe:message name="RecordMetadata" id="1"> <field name="checksum" id="1" type="int64"/> <field name="length" id="2" type="int32"/> </sbe:message> <sbe:message name="RecordData" id="2"> <field name="index" id="1" type="uint64"/> <field name="asqn" id="2" type="int64"/> <data name="data" id="3" type="blob"/> </sbe:message> <sbe:message name="SegmentDescriptor" id="3"> <field name="id" id="1" type="int64"/> <field name="index" id="2" type="int64"/> <field name="maxSegmentSize" id="3" type="int32"/> <field name="lastIndex" id="4" type="uint64" sinceVersion="2"/> <field name="lastPosition" id="5" type="uint32" sinceVersion="2"/> </sbe:message> <sbe:message name="DescriptorMetadata" id="4" > <field name="checksum" id="1" type="int64"/> </sbe:message> </sbe:messageSchema>