Aller au contenu principal

hdds-schema-registry

Schema Registry for HDDS DDS types. Provides centralized type storage and lookup for DDS participants.

Experimental

This crate is at version 0.1.0 and its API may change.

Overview​

hdds-schema-registry provides a registry service for DDS type definitions, enabling:

  • Centralized type storage -- Store and retrieve TypeObject/TypeIdentifier definitions
  • Type compatibility checking -- Verify publisher/subscriber type compatibility at runtime
  • Schema evolution -- Track type versions across deployments

Installation​

hdds-schema-registry is not published on crates.io. It is built from a clone of the source.

The hdds-schema-registry server binary needs the server feature (add dds to announce and receive schemas over DDS):

git clone https://git.hdds.io/hdds/hdds.git
cd hdds
cargo build --release -p hdds-schema-registry --features server

The binary is written to target/release/hdds-schema-registry in the clone. To install it into ~/.cargo/bin instead:

cargo install --path crates/hdds-schema-registry --features server

To use it as a library, add a path dependency on the clone:

[dependencies]
hdds-schema-registry = { path = "../hdds/crates/hdds-schema-registry" }