object Subscription
- Alphabetic
- By Inheritance
- Subscription
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- final case class Manual(topicPartitions: Set[TopicPartition]) extends Subscription with Product with Serializable
- final case class Pattern(pattern: Regex) extends Subscription with Product with Serializable
- final case class Topics(topics: Set[String]) extends Subscription with Product with Serializable
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
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() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
manual(topic: String, partition: Int): Manual
Create a subscription to a single topic-partition
Create a subscription to a single topic-partition
A consumer with this type of subscription does not perform consumer rebalancing
-
def
manual(topicPartitions: (String, Int)*): Manual
Create a manual subscription to a fixed set of topic-partitions
Create a manual subscription to a fixed set of topic-partitions
A consumer with this type of subscription does not perform consumer rebalancing
- topicPartitions
Tuples of topic and partition
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
def
pattern(pattern: java.util.regex.Pattern): Subscription
Create a subscription for all topics matching the given pattern
Create a subscription for all topics matching the given pattern
- pattern
Pattern
-
def
pattern(pattern: String): Task[Subscription]
Create a subscription for all topics matching the given pattern
Create a subscription for all topics matching the given pattern
- pattern
Pattern to be converted to a Regex
- returns
The created subscription or failure when the pattern is invalid
-
def
pattern(pattern: Regex): Subscription
Create a subscription for all topics matching the given pattern
Create a subscription for all topics matching the given pattern
- pattern
Pattern
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
topics(name: String, names: String*): Subscription
Create a subscription for one or more topics
Create a subscription for one or more topics
- name
Topic to subscribe to
- names
Additional topics to subscribe to
-
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