Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
fix(outgoingwebhookevents): Throw an error when outgoing webhook events env var not found (#3291)
harsh-sharma-juspayee044a0be811
diff --git a/crates/router/src/services/kafka.rs b/crates/router/src/services/kafka.rsindex 2b29a61b4a..2bcfcfe974 100644--- a/crates/router/src/services/kafka.rs+++ b/crates/router/src/services/kafka.rs@@ -126,6 +126,15 @@ impl KafkaSettings {))})?;+ common_utils::fp_utils::when(+ self.outgoing_webhook_logs_topic.is_default_or_empty(),+ || {+ Err(ApplicationError::InvalidConfigurationValueError(+ "Kafka Outgoing Webhook Logs topic must not be empty".into(),+ ))+ },+ )?;+Ok(())}}