KafkaSubscription
Attributes
- Source
- KafkaSubscription.scala
- Graph
-
- Supertypes
- Known subtypes
-
Members list
Value members
Abstract methods
Subscribes the consumer to the specified topics.
Subscribes the consumer to the specified topics. Note that you have to use one of the subscribe
functions to subscribe to one or more topics before using any of the provided Stream
s, or a NotSubscribedException will be raised in the Stream
s.
Value parameters
- topics
-
the topics to which the consumer should subscribe
Attributes
- Source
- KafkaSubscription.scala
Subscribes the consumer to the topics matching the specified Regex
.
Subscribes the consumer to the topics matching the specified Regex
. Note that you have to use one of the subscribe
functions before you can use any of the provided Stream
s, or a NotSubscribedException will be raised in the Stream
s.
Value parameters
- regex
-
the regex to which matching topics should be subscribed
Attributes
- Source
- KafkaSubscription.scala
Unsubscribes the consumer from all topics and partitions assigned by subscribe
or assign
.
Unsubscribes the consumer from all topics and partitions assigned by subscribe
or assign
.
Attributes
- Source
- KafkaSubscription.scala
Concrete methods
Subscribes the consumer to the specified topics.
Subscribes the consumer to the specified topics. Note that you have to use one of the subscribe
functions to subscribe to one or more topics before using any of the provided Stream
s, or a NotSubscribedException will be raised in the Stream
s.
Attributes
- Source
- KafkaSubscription.scala