| Modifier and Type | Class and Description |
|---|---|
static class |
KafkaIO.Read<K,V>
A
PTransform to read from Kafka topics. |
| Modifier and Type | Method and Description |
|---|---|
KafkaIO.TypedRead<K,V> |
KafkaIO.TypedRead.withTimestampFn(SerializableFunction<KV<K,V>,org.joda.time.Instant> timestampFn)
A function to assign a timestamp to a record.
|
KafkaIO.TypedRead<K,V> |
KafkaIO.TypedRead.withTimestampFn2(SerializableFunction<KafkaRecord<K,V>,org.joda.time.Instant> timestampFn)
A function to assign a timestamp to a record.
|
KafkaIO.TypedRead<K,V> |
KafkaIO.TypedRead.withWatermarkFn(SerializableFunction<KV<K,V>,org.joda.time.Instant> watermarkFn)
A function to calculate watermark after a record.
|
KafkaIO.TypedRead<K,V> |
KafkaIO.TypedRead.withWatermarkFn2(SerializableFunction<KafkaRecord<K,V>,org.joda.time.Instant> watermarkFn)
A function to calculate watermark after a record.
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.