| Crates.io | llm-sentinel-ingestion |
| lib.rs | llm-sentinel-ingestion |
| version | 0.1.0 |
| created_at | 2025-11-06 07:42:24.084402+00 |
| updated_at | 2025-11-06 07:42:24.084402+00 |
| description | Kafka ingestion, OTLP parsing, and telemetry validation for LLM-Sentinel |
| homepage | https://github.com/globalbusinessadvisors/llm-sentinel |
| repository | https://github.com/globalbusinessadvisors/llm-sentinel |
| max_upload_size | |
| id | 1919233 |
| size | 106,512 |
Kafka ingestion, OTLP parsing, and telemetry validation for LLM-Sentinel.
This crate handles the ingestion pipeline for LLM telemetry data:
Add this to your Cargo.toml:
[dependencies]
llm-llm-sentinel-ingestion = "0.1.0"
use llm_sentinel_ingestion::{KafkaConsumer, IngestionConfig};
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let config = IngestionConfig {
kafka_brokers: vec!["localhost:9092".to_string()],
topic: "llm.telemetry".to_string(),
group_id: "sentinel-consumer".to_string(),
..Default::default()
};
let consumer = KafkaConsumer::new(config).await?;
consumer.start().await?;
Ok(())
}
Apache-2.0