object TopicPurpose
- Alphabetic
- By Inheritance
- TopicPurpose
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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()
- val ephemeron: TopicPurpose
Medium scale with one hour retention and a replication factor of only two.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val event: TopicPurpose
Medium scale with infinite retention.
- 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 lowScale(configs: TopicConfig, contentType: TopicContentType): TopicPurpose
If the topic is small, there is not much need to scale it, so the simplicity of one partition should suffice.
- def mediumScale(configs: TopicConfig, contentType: TopicContentType): TopicPurpose
- val mediumState: TopicPurpose
A state topic by default doesn't need to keep history; compact.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val negligible: TopicPurpose
Low scale, 1 partition, 1 replica, 1 hour retention.
Low scale, 1 partition, 1 replica, 1 hour retention. For data that is negligible (e.g. test topic).
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val smallCommand: TopicPurpose
Because this is a command topic, we do not need infinite retention.
Because this is a command topic, we do not need infinite retention. OTOH if the topic is truly small, it can't hurt to err a bit on the side of retaining it longer than needed, because there just won't be that much data there; retain for 30 days.
- val smallState: TopicPurpose
A state topic by default doesn't need to keep history; compact
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()