Git Product home page Git Product logo

Comments (3)

donmendelson avatar donmendelson commented on June 12, 2024

In SBE, field ID is only in metadata, not on the wire. The specification states:

Unique field identifier (FIX tag)

The scope of uniqueness is not specified, however, so the Real Logic and Euronext schemas do not contradict the spec.

From a FIX perspective, the SBE ID was intended to correlate to a stable identifier in the FIX application layer. See the online specification here: https://www.fixtrading.org/online-specification/

from fix-simple-binary-encoding.

OleksandrKvl avatar OleksandrKvl commented on June 12, 2024

@donmendelson you're right, in the table about field attributes there's no uniqueness requirements, however in Schema validation section there is a statement:

Duplicate ID or name of field or group.
Attributes id and name must uniquely identify a type within a message schema. This applies to fields and groups.

To me it sounds like ID must be unique within a message.
Thanks for the answer, I will close the issue since you answered my question. If you think that documentation should be fixed, feel free to reopen it.

from fix-simple-binary-encoding.

OleksandrKvl avatar OleksandrKvl commented on June 12, 2024

@donmendelson just found in this table:

Name and id must uniquely identify a field type within a message schema.

Under this statement your previous answer doesn't look good.
I also have related question: how unique should message member name be? Documentation says the same "must uniquely identify a field within a message schema", however Real Logic generator allows fields with the same name on different message levels (btw it does the same for IDs, i.e. same IDs are not allowed on the same level but are OK on different levels).

from fix-simple-binary-encoding.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.