Sbe Tool Guide (original) (raw)

The SBE tool is a command line utility that can be used to generate codecs and validate message declaration schemas. The tool is written in Java and can run as an executable JAR file, e.g:

$ java --add-opens java.base/jdk.internal.misc=ALL-UNNAMED -jar sbe-all-${SBE_LIB_VERSION}.jar <message-declarations-file.xml>

The tool will accept options using the system property option format as follows:

$ java [-Doption=value] --add-opens java.base/jdk.internal.misc=ALL-UNNAMED -jar sbe-all-${SBE_TOOL_VERSION}.jar <message-declarations-file.xml>

The tool supports the following options:

Language specific configuration options

Java

C++

C#

Golang

Rust

The SBE tool can be used with Mavensee