//! DI registration helpers for the Kafka streaming backend.
//!
//! Provides utility functions to create and share `KafkaProducer` and
//! `KafkaConsumer` instances. Full `#[inject]` trait integration is
//! added in Phase 2 (macro integration).
use crate::;
use Arc;
/// Create `Arc`-wrapped `KafkaProducer` and `KafkaConsumer` from `config`.
///
/// Returns an error if the brokers are unreachable at startup.
pub async