object TopicActions

Creates topic actions for managed topics.

Source
TopicActions.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TopicActions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class KafkaFutureConverter[T] extends AnyRef
  2. 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
  3. type TopicResource = ConfigMap

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val DefaultConfigurationName: String
  5. val KafkaClusterNameFormat: String
  6. val KafkaClusterNameLabel: String
  7. def action(appConfigSecretName: Option[String], runners: Map[String, Runner[_]], labels: CloudflowLabels, topic: TopicInfo, newApp: CR, namedClustersNamespace: String): ResourceAction[ObjectResource]

    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

  8. def apply(newApp: CR, runners: Map[String, Runner[_]], namedClustersNamespace: String): Seq[Action]
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  11. def createAction(topic: TopicInfo, labels: CloudflowLabels, runners: Map[String, Runner[_]], newApp: CR, bootstrapServers: String, partitions: Int, replicas: Int): CreateOrUpdateAction[ConfigMap]
  12. def createActionFromKafkaConfigSecret(secret: Secret, newApp: CR, runners: Map[String, Runner[_]], labels: CloudflowLabels, topic: TopicInfo): ResourceAction[ObjectResource]
  13. def createTopicOrError(newApp: CR, runners: Map[String, Runner[_]], labels: CloudflowLabels, topic: TopicInfo): ResourceAction[ObjectResource]
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def maybeCreateActionFromAppConfigSecret(secretOption: Option[Secret], newApp: CR, runners: Map[String, Runner[_]], labels: CloudflowLabels, topic: TopicInfo): Option[ResourceAction[ObjectResource]]
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def resource(namespace: String, topic: TopicInfo, partitions: Int, replicationFactor: Int, bootstrapServers: String, labels: CloudflowLabels): ConfigMap
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. object KafkaAdmins
  30. object TopicInfo extends Serializable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped