Package

org.apache.spark.sql

kafka010

Permalink

package kafka010

Visibility
  1. Public
  2. All

Type Members

  1. case class AssignStrategy(partitions: Array[TopicPartition]) extends ConsumerStrategy with Product with Serializable

    Permalink

    Specify a fixed collection of partitions.

  2. sealed trait ConsumerStrategy extends AnyRef

    Permalink

    Subscribe allows you to subscribe to a fixed collection of topics.

    Subscribe allows you to subscribe to a fixed collection of topics. SubscribePattern allows you to use a regex to specify topics of interest. Note that unlike the 0.8 integration, using Subscribe or SubscribePattern should respond to adding partitions during a running stream. Finally, Assign allows you to specify a fixed collection of partitions. All three strategies have overloaded constructors that allow you to specify the starting offset for a particular partition.

  3. case class SubscribePatternStrategy(topicPattern: String) extends ConsumerStrategy with Product with Serializable

    Permalink

    Use a regex to specify topics of interest.

  4. case class SubscribeStrategy(topics: Seq[String]) extends ConsumerStrategy with Product with Serializable

    Permalink

    Subscribe to a fixed collection of topics.

Ungrouped