object TopicActions
Ordering
- Alphabetic
- By Inheritance
Inherited
- TopicActions
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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): 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
- 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( ... ) @native() @HotSpotIntrinsicCandidate()
- def createAction(topic: TopicInfo, labels: CloudflowLabels, runners: Map[String, Runner[_]], newApp: CR, bootstrapServers: String, partitions: Int, replicas: Int): CreateOrUpdateAction[ConfigMap]
- def createActionFromKafkaConfigSecret(secret: Secret, newApp: CR, runners: Map[String, Runner[_]], labels: CloudflowLabels, topic: TopicInfo): ResourceAction[ObjectResource]
- def createTopicOrError(newApp: CR, runners: Map[String, Runner[_]], labels: CloudflowLabels, topic: TopicInfo): ResourceAction[ObjectResource]
-
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() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def maybeCreateActionFromAppConfigSecret(secretOption: Option[Secret], newApp: CR, runners: Map[String, Runner[_]], labels: CloudflowLabels, topic: TopicInfo): Option[ResourceAction[ObjectResource]]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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(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( ... )
- object KafkaAdmins
- object TopicInfo extends Serializable