initial commit

This commit is contained in:
2025-08-20 17:34:20 +02:00
commit ca4aa96565
7 changed files with 2450 additions and 0 deletions

19
src/config.rs Normal file
View File

@@ -0,0 +1,19 @@
use serde::Deserialize;
use std::collections::HashMap;
#[derive(Debug, Deserialize)]
pub struct AppConfig {
pub kafka: KafkaConfig,
pub schemas: HashMap<String, SchemaConfig>,
}
#[derive(Debug, Deserialize)]
pub struct KafkaConfig {
pub brokers: String,
pub schema_registry: String,
}
#[derive(Debug, Deserialize)]
pub struct SchemaConfig {
pub file: String,
}