Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Update message header format and endianness

...

MsgPack is used for data serialization with little-endian byte order.

Data Types Mapping

Ignite data types defined in IEP-54 map to MsgPack data types the following way:

...

All messages, requests and responses, except handshake, start with int a 4-byte message length (excluding the length itself).

  • Any MsgPack int type can be used (see varint above). Empty message will be single 0 byteMessage length is not encoded with MsgPack, 4 bytes contain raw int32 value in little-endian byte order.
  • Maximum message length is 2147483647 (Integer.MAX_VALUE and maximum byte array length in Java)
int 4 bytes Length of Payload
...Payload

...