@DefaultSchema(value=org.apache.beam.sdk.schemas.AutoValueSchema.class)
public abstract class KafkaSourceDescriptor
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
KafkaSourceDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.kafka.common.TopicPartition |
getTopicPartition() |
static KafkaSourceDescriptor |
of(org.apache.kafka.common.TopicPartition topicPartition,
@Nullable java.lang.Long startReadOffset,
@Nullable org.joda.time.Instant startReadTime,
@Nullable java.lang.Long stopReadOffset,
@Nullable org.joda.time.Instant stopReadTime,
@Nullable java.util.List<java.lang.String> bootstrapServers) |
@SchemaIgnore @Deterministic public org.apache.kafka.common.TopicPartition getTopicPartition()
public static KafkaSourceDescriptor of(org.apache.kafka.common.TopicPartition topicPartition, @Nullable java.lang.Long startReadOffset, @Nullable org.joda.time.Instant startReadTime, @Nullable java.lang.Long stopReadOffset, @Nullable org.joda.time.Instant stopReadTime, @Nullable java.util.List<java.lang.String> bootstrapServers)