feat: Add Store avro
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
use serde::Deserialize;
|
||||
use std::collections::HashMap;
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
pub struct AppConfig {
|
||||
pub kafka: KafkaConfig,
|
||||
pub schemas: HashMap<String, SchemaConfig>,
|
||||
// pub schemas: HashMap<String, SchemaConfig>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
@@ -13,7 +12,7 @@ pub struct KafkaConfig {
|
||||
pub schema_registry: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
pub struct SchemaConfig {
|
||||
pub file: String,
|
||||
}
|
||||
// #[derive(Debug, Deserialize)]
|
||||
// pub struct SchemaConfig {
|
||||
// pub file: String,
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user