| Modifier and Type | Method and Description |
|---|---|
KafkaIO.Write<K,V> |
KafkaIO.Write.updateProducerProperties(Map<String,Object> configUpdates) |
KafkaIO.Write<K,V> |
KafkaIO.Write.withBootstrapServers(String bootstrapServers)
Returns a new
KafkaIO.Write transform with Kafka producer pointing to
bootstrapServers. |
<KeyT> KafkaIO.Write<KeyT,V> |
KafkaIO.Write.withKeyCoder(Coder<KeyT> keyCoder)
Returns a new
KafkaIO.Write with Coder for serializing key (if any) to bytes. |
KafkaIO.Write<K,V> |
KafkaIO.Write.withTopic(String topic)
Returns a new
KafkaIO.Write transform that write to given topic. |
<ValueT> KafkaIO.Write<K,ValueT> |
KafkaIO.Write.withValueCoder(Coder<ValueT> valueCoder)
Returns a new
KafkaIO.Write with Coder for serializing value to bytes. |
static KafkaIO.Write<byte[],byte[]> |
KafkaIO.write()
Creates an uninitialized
KafkaIO.Write PTransform. |
Copyright © 2016 The Apache Software Foundation. All rights reserved.