Struct dataflow::sink::kafka::KafkaTxProducer [−][src]
struct KafkaTxProducer {
name: String,
inner: Arc<ThreadedProducer<SinkProducerContext>>,
timeout: Duration,
}
Fields
name: String
inner: Arc<ThreadedProducer<SinkProducerContext>>
timeout: Duration
Implementations
fn send<'a, K, P>(
&self,
record: BaseRecord<'a, K, P>
) -> Result<(), (KafkaError, BaseRecord<'a, K, P>)> where
K: ToBytes + ?Sized,
P: ToBytes + ?Sized,
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for KafkaTxProducer
impl Send for KafkaTxProducer
impl Sync for KafkaTxProducer
impl Unpin for KafkaTxProducer
impl !UnwindSafe for KafkaTxProducer
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more