org.apache.spark.streaming.kafka010

ConsumerStrategies

object ConsumerStrategies

:: Experimental :: object for obtaining instances of ConsumerStrategy

Annotations
@Experimental()
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ConsumerStrategies
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def Assign[K, V](topicPartitions: Collection[TopicPartition], kafkaParams: Map[String, AnyRef]): ConsumerStrategy[K, V]

    :: Experimental :: Assign a fixed collection of TopicPartitions

    :: Experimental :: Assign a fixed collection of TopicPartitions

    topicPartitions

    collection of TopicPartitions to assign

    kafkaParams

    Kafka configuration parameters to be used on driver. The same params will be used on executors, with minor automatic modifications applied. Requires "bootstrap.servers" to be set with Kafka broker(s) specified in host1:port1,host2:port2 form.

    Annotations
    @Experimental()
  7. def Assign[K, V](topicPartitions: Collection[TopicPartition], kafkaParams: Map[String, AnyRef], offsets: Map[TopicPartition, Long]): ConsumerStrategy[K, V]

    :: Experimental :: Assign a fixed collection of TopicPartitions

    :: Experimental :: Assign a fixed collection of TopicPartitions

    topicPartitions

    collection of TopicPartitions to assign

    kafkaParams

    Kafka configuration parameters to be used on driver. The same params will be used on executors, with minor automatic modifications applied. Requires "bootstrap.servers" to be set with Kafka broker(s) specified in host1:port1,host2:port2 form.

    Annotations
    @Experimental()
  8. def Assign[K, V](topicPartitions: Iterable[TopicPartition], kafkaParams: Map[String, AnyRef]): ConsumerStrategy[K, V]

    :: Experimental :: Assign a fixed collection of TopicPartitions

    :: Experimental :: Assign a fixed collection of TopicPartitions

    topicPartitions

    collection of TopicPartitions to assign

    kafkaParams

    Kafka configuration parameters to be used on driver. The same params will be used on executors, with minor automatic modifications applied. Requires "bootstrap.servers" to be set with Kafka broker(s) specified in host1:port1,host2:port2 form.

    Annotations
    @Experimental()
  9. def Assign[K, V](topicPartitions: Iterable[TopicPartition], kafkaParams: Map[String, AnyRef], offsets: Map[TopicPartition, Long]): ConsumerStrategy[K, V]

    :: Experimental :: Assign a fixed collection of TopicPartitions

    :: Experimental :: Assign a fixed collection of TopicPartitions

    topicPartitions

    collection of TopicPartitions to assign

    kafkaParams

    Kafka configuration parameters to be used on driver. The same params will be used on executors, with minor automatic modifications applied. Requires "bootstrap.servers" to be set with Kafka broker(s) specified in host1:port1,host2:port2 form.

    Annotations
    @Experimental()
  10. def Subscribe[K, V](topics: Collection[String], kafkaParams: Map[String, AnyRef]): ConsumerStrategy[K, V]

    :: Experimental :: Subscribe to a collection of topics.

    :: Experimental :: Subscribe to a collection of topics.

    topics

    collection of topics to subscribe

    kafkaParams

    Kafka configuration parameters to be used on driver. The same params will be used on executors, with minor automatic modifications applied. Requires "bootstrap.servers" to be set with Kafka broker(s) specified in host1:port1,host2:port2 form.

    Annotations
    @Experimental()
  11. def Subscribe[K, V](topics: Collection[String], kafkaParams: Map[String, AnyRef], offsets: Map[TopicPartition, Long]): ConsumerStrategy[K, V]

    :: Experimental :: Subscribe to a collection of topics.

    :: Experimental :: Subscribe to a collection of topics.

    topics

    collection of topics to subscribe

    kafkaParams

    Kafka configuration parameters to be used on driver. The same params will be used on executors, with minor automatic modifications applied. Requires "bootstrap.servers" to be set with Kafka broker(s) specified in host1:port1,host2:port2 form.

    Annotations
    @Experimental()
  12. def Subscribe[K, V](topics: Iterable[String], kafkaParams: Map[String, AnyRef]): ConsumerStrategy[K, V]

    :: Experimental :: Subscribe to a collection of topics.

    :: Experimental :: Subscribe to a collection of topics.

    topics

    collection of topics to subscribe

    kafkaParams

    Kafka configuration parameters to be used on driver. The same params will be used on executors, with minor automatic modifications applied. Requires "bootstrap.servers" to be set with Kafka broker(s) specified in host1:port1,host2:port2 form.

    Annotations
    @Experimental()
  13. def Subscribe[K, V](topics: Iterable[String], kafkaParams: Map[String, AnyRef], offsets: Map[TopicPartition, Long]): ConsumerStrategy[K, V]

    :: Experimental :: Subscribe to a collection of topics.

    :: Experimental :: Subscribe to a collection of topics.

    topics

    collection of topics to subscribe

    kafkaParams

    Kafka configuration parameters to be used on driver. The same params will be used on executors, with minor automatic modifications applied. Requires "bootstrap.servers" to be set with Kafka broker(s) specified in host1:port1,host2:port2 form.

    Annotations
    @Experimental()
  14. def SubscribePattern[K, V](pattern: Pattern, kafkaParams: Map[String, AnyRef]): ConsumerStrategy[K, V]

    :: Experimental :: Subscribe to all topics matching specified pattern to get dynamically assigned partitions.

    :: Experimental :: Subscribe to all topics matching specified pattern to get dynamically assigned partitions. The pattern matching will be done periodically against topics existing at the time of check.

    pattern

    pattern to subscribe to

    kafkaParams

    Kafka configuration parameters to be used on driver. The same params will be used on executors, with minor automatic modifications applied. Requires "bootstrap.servers" to be set with Kafka broker(s) specified in host1:port1,host2:port2 form.

    Annotations
    @Experimental()
  15. def SubscribePattern[K, V](pattern: Pattern, kafkaParams: Map[String, AnyRef], offsets: Map[TopicPartition, Long]): ConsumerStrategy[K, V]

    :: Experimental :: Subscribe to all topics matching specified pattern to get dynamically assigned partitions.

    :: Experimental :: Subscribe to all topics matching specified pattern to get dynamically assigned partitions. The pattern matching will be done periodically against topics existing at the time of check.

    pattern

    pattern to subscribe to

    kafkaParams

    Kafka configuration parameters to be used on driver. The same params will be used on executors, with minor automatic modifications applied. Requires "bootstrap.servers" to be set with Kafka broker(s) specified in host1:port1,host2:port2 form.

    Annotations
    @Experimental()
  16. def SubscribePattern[K, V](pattern: Pattern, kafkaParams: Map[String, AnyRef]): ConsumerStrategy[K, V]

    :: Experimental :: Subscribe to all topics matching specified pattern to get dynamically assigned partitions.

    :: Experimental :: Subscribe to all topics matching specified pattern to get dynamically assigned partitions. The pattern matching will be done periodically against topics existing at the time of check.

    pattern

    pattern to subscribe to

    kafkaParams

    Kafka configuration parameters to be used on driver. The same params will be used on executors, with minor automatic modifications applied. Requires "bootstrap.servers" to be set with Kafka broker(s) specified in host1:port1,host2:port2 form.

    Annotations
    @Experimental()
  17. def SubscribePattern[K, V](pattern: Pattern, kafkaParams: Map[String, AnyRef], offsets: Map[TopicPartition, Long]): ConsumerStrategy[K, V]

    :: Experimental :: Subscribe to all topics matching specified pattern to get dynamically assigned partitions.

    :: Experimental :: Subscribe to all topics matching specified pattern to get dynamically assigned partitions. The pattern matching will be done periodically against topics existing at the time of check.

    pattern

    pattern to subscribe to

    kafkaParams

    Kafka configuration parameters to be used on driver. The same params will be used on executors, with minor automatic modifications applied. Requires "bootstrap.servers" to be set with Kafka broker(s) specified in host1:port1,host2:port2 form.

    Annotations
    @Experimental()
  18. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  19. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped