Class KafkaSourceDescriptor

  • All Implemented Interfaces:
    java.io.Serializable

    @DefaultSchema(org.apache.beam.sdk.schemas.AutoValueSchema.class)
    public abstract class KafkaSourceDescriptor
    extends java.lang.Object
    implements java.io.Serializable
    Represents a Kafka source description.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KafkaSourceDescriptor

        public KafkaSourceDescriptor()
    • Method Detail

      • getTopicPartition

        @SchemaIgnore
        @Deterministic
        public org.apache.kafka.common.TopicPartition getTopicPartition()
      • of

        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)