:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
ingestion-worker-proto
Rust bindings for the ingestion consumer → worker streaming gRPC API.
Proto definitions live in the top-level /proto/ingestion directory.
The ingestion.worker.v1.WorkerIngest service carries routed sub-batches from rust/ingestion-consumer to the Node.js ingestion-api workers over one ordered bidirectional stream per (consumer, worker) pair.
Building
cargo build -p ingestion-worker-proto
Rust bindings regenerate automatically through tonic-build when the crate builds.