object ConsumerStrategies
Object for obtaining instances of ConsumerStrategy
- Alphabetic
- By Inheritance
- ConsumerStrategies
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
Assign[K, V](topicPartitions: Collection[TopicPartition], kafkaParams: Map[String, AnyRef]): ConsumerStrategy[K, V]
Assign a fixed collection of TopicPartitions
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.
-
def
Assign[K, V](topicPartitions: Collection[TopicPartition], kafkaParams: Map[String, AnyRef], offsets: Map[TopicPartition, Long]): ConsumerStrategy[K, V]
Assign a fixed collection of TopicPartitions
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.
-
def
Assign[K, V](topicPartitions: Iterable[TopicPartition], kafkaParams: Map[String, AnyRef]): ConsumerStrategy[K, V]
Assign a fixed collection of TopicPartitions
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.
-
def
Assign[K, V](topicPartitions: Iterable[TopicPartition], kafkaParams: Map[String, AnyRef], offsets: Map[TopicPartition, Long]): ConsumerStrategy[K, V]
Assign a fixed collection of TopicPartitions
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.
-
def
Subscribe[K, V](topics: Collection[String], kafkaParams: Map[String, AnyRef]): ConsumerStrategy[K, V]
Subscribe to a collection of topics.
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.
-
def
Subscribe[K, V](topics: Collection[String], kafkaParams: Map[String, AnyRef], offsets: Map[TopicPartition, Long]): ConsumerStrategy[K, V]
Subscribe to a collection of topics.
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.
-
def
Subscribe[K, V](topics: Iterable[String], kafkaParams: Map[String, AnyRef]): ConsumerStrategy[K, V]
Subscribe to a collection of topics.
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.
-
def
Subscribe[K, V](topics: Iterable[String], kafkaParams: Map[String, AnyRef], offsets: Map[TopicPartition, Long]): ConsumerStrategy[K, V]
Subscribe to a collection of topics.
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.
-
def
SubscribePattern[K, V](pattern: Pattern, kafkaParams: Map[String, AnyRef]): ConsumerStrategy[K, V]
Subscribe to all topics matching specified pattern to get dynamically assigned partitions.
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.
-
def
SubscribePattern[K, V](pattern: Pattern, kafkaParams: Map[String, AnyRef], offsets: Map[TopicPartition, Long]): ConsumerStrategy[K, V]
Subscribe to all topics matching specified pattern to get dynamically assigned partitions.
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.
-
def
SubscribePattern[K, V](pattern: Pattern, kafkaParams: Map[String, AnyRef]): ConsumerStrategy[K, V]
Subscribe to all topics matching specified pattern to get dynamically assigned partitions.
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.
-
def
SubscribePattern[K, V](pattern: Pattern, kafkaParams: Map[String, AnyRef], offsets: Map[TopicPartition, Long]): ConsumerStrategy[K, V]
Subscribe to all topics matching specified pattern to get dynamically assigned partitions.
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.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated