object Subscription
- Alphabetic
- By Inheritance
- Subscription
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()