hyperswitch
hyperswitch copied to clipboard
[Refactor] Deprecate impl KakfaProducer functions and use MessageInterface instead
Remove the following functions from KafkaProducer to rely on MessageInterface instead.
pub async fn log_payment_attempt(
}
pub async fn log_payment_attempt_delete(
}
pub async fn log_payment_intent(
}
pub async fn log_payment_intent_delete(
}
pub async fn log_refund(&self, refund: &Refund, old_refund: Option<Refund>) -> MQResult<()> {
}
pub async fn log_refund_delete(&self, delete_old_refund: &Refund) -> MQResult<()> {
}
pub async fn log_dispute(
}
#[cfg(feature = "payouts")]
pub async fn log_payout(
}
#[cfg(feature = "payouts")]
pub async fn log_payout_delete(&self, delete_old_payout: &KafkaPayout<'_>) -> MQResult<()> {
}
https://github.com/juspay/hyperswitch/blob/main/crates/router/src/services/kafka.rs#L265-L386