object TopicActions
Creates topic actions for managed topics.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TopicActions
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- implicit class KafkaFutureConverter[T] extends AnyRef
- case class TopicInfo(id: String, name: String, cluster: Option[String], partitions: Option[Int], replicationFactor: Option[Int], properties: Map[String, String], managed: Boolean, bootstrapServers: Option[String], brokerConfig: Map[String, String]) extends Product with Serializable
- type TopicResource = ConfigMap
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
- val DefaultConfigurationName: String
- val KafkaClusterNameFormat: String
- val KafkaClusterNameLabel: String
- def action(appConfigSecretName: Option[String], runners: Map[String, Runner[_]], labels: CloudflowLabels, topic: TopicInfo, newApp: Cr, namedClustersNamespace: String): Action
Create a topic using the correct Kafka configuration.
Create a topic using the correct Kafka configuration.
Configuration resolution order: 1. App secret contains inline connection configuration for topic 2. User-defined topic cluster configuration name in blueprint 3. Default topic cluster configuration
- def apply(newApp: Cr, runners: Map[String, Runner[_]], namedClustersNamespace: String): Seq[Action]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def createAction(topic: TopicInfo, labels: CloudflowLabels, runners: Map[String, Runner[_]], newApp: Cr, bootstrapServers: String, partitions: Int, replicas: Int): CompositeAction[Nothing]
- def createActionFromKafkaConfigSecret(secret: Secret, newApp: Cr, runners: Map[String, Runner[_]], labels: CloudflowLabels, topic: TopicInfo): Action
- def createTopicOrError(newApp: Cr, runners: Map[String, Runner[_]], labels: CloudflowLabels, topic: TopicInfo): Action
- 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 getConfigFromSecret(secret: Secret): Config
- def getData(secret: Secret): String
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def maybeCreateActionFromAppConfigSecret(secretOption: Option[Secret], newApp: Cr, runners: Map[String, Runner[_]], labels: CloudflowLabels, topic: TopicInfo): Option[Action]
- 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 portMappingToTopic(pm: PortMapping): Topic
- def resource(namespace: String, topic: TopicInfo, partitions: Int, replicationFactor: Int, bootstrapServers: String, labels: CloudflowLabels): ConfigMap
- 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()
- object KafkaAdmins
- object TopicInfo extends Serializable