faucet-source-grpc 1.0.0

gRPC API source connector for the faucet-stream ecosystem
Documentation
#![cfg_attr(docsrs, feature(doc_cfg))]

//! # faucet-source-grpc
//!
//! A config-driven gRPC source that uses protobuf reflection to call
//! any gRPC service dynamically and return records as JSON.
//!
//! Supports both [`RpcKind::Unary`] (one request → one response) and
//! [`RpcKind::ServerStreaming`] (one request → server-driven stream of
//! responses) — see the crate README for the differences in batching and
//! reconnect behaviour.
//!
//! Requires a compiled `FileDescriptorSet` (produced by
//! `protoc --descriptor_set_out=descriptor.bin`).

pub mod config;
pub mod stream;

pub use faucet_core::{AuthSpec, FaucetError, SharedAuthProvider, Source};

pub use config::{GrpcAuth, GrpcStreamConfig, MetadataEntry, RpcKind};
pub use stream::GrpcStream;