webhook add auth_token

This commit is contained in:
houseme
2025-03-27 23:18:09 +08:00
parent d12817a772
commit 2c8b9a8323
3 changed files with 22 additions and 10 deletions
+2 -1
View File
@@ -51,7 +51,8 @@ pub struct KafkaSinkConfig {
#[derive(Debug, Deserialize, Clone, Default)]
pub struct WebhookSinkConfig {
pub enabled: bool,
pub url: String,
pub endpoint: String,
pub auth_token: String,
pub max_retries: Option<usize>, // Maximum number of retry times, default 3
pub retry_delay_ms: Option<u64>, // Retry the delay cardinality, default 100ms
}