This guide provides instructions to run the Kuksa Databroker and its clients, with and without OpenTelemetry instrumentation. It also demonstrates integration with a Jaeger backend for tracing.
env OTEL_BSP_MAX_QUEUE_SIZE=8192 cargo run --bin databroker --features otel -- --address 127.0.0.1 --metadata ./data/vss-core/vss_release_4.0.json --insecurecargo run --bin databroker -- --address 127.0.0.1 --metadata ./data/vss-core/vss_release_4.0.json --insecurecargo run --bin databroker --features stats -- --address 127.0.0.1 --metadata ./data/vss-core/vss_release_4.0.json --insecurecargo run --bin publishercargo run --bin publisher-otelcargo run --bin subscribercargo run --bin subscriber-otelClone and run the Jaeger setup repository:
git clone https://github.com/LikhithST/opentelemtry-rust-setup.git
cd opentelemtry-rust-setup
docker compose upClone the kuksa-databroker repository:
git clone https://github.com/LikhithST/kuksa-databroker.git
cd kuksa-databrokerRun the instrumented databroker:
env OTEL_BSP_MAX_QUEUE_SIZE=8192 cargo run --bin databroker --features otel -- --address 127.0.0.1 --metadata ./data/vss-core/vss_release_4.0.json --insecureClone the kuksa-tools repository:
git clone https://github.com/LikhithST/kuksa-tools.git
cd kuksa-tools
code .✅ Open the project in a VSCode Dev Container
Troubleshoot: if encounter problems, remove already running devcontainer (docker container)
In one terminal:
cargo run --bin subscriber-otelExpected output:
Subscribed to changes...In another terminal:
cargo run --bin publisher-otelExpected output:
2025-04-12T12:42:14.186478Z INFO publisher_otel: Logging initialized
Response: SetResponse { error: None, errors: [] }



