Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard

The project is the basic unit of resource management in Datahub Service and is used to isolate and control resources. It contains a set of Topics. You can manage the datahub sources of an application by using projects. Refer to details.

Link copied to clipboard
data class ProjectArgs(val comment: Output<String>? = null, val name: Output<String>? = null) : ConvertibleToJava<ProjectArgs>

The project is the basic unit of resource management in Datahub Service and is used to isolate and control resources. It contains a set of Topics. You can manage the datahub sources of an application by using projects. Refer to details.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The subscription is the basic unit of resource usage in Datahub Service under Publish/Subscribe model. You can manage the relationships between user and topics by using subscriptions. Refer to details.

Link copied to clipboard
data class SubscriptionArgs(val comment: Output<String>? = null, val projectName: Output<String>? = null, val topicName: Output<String>? = null) : ConvertibleToJava<SubscriptionArgs>

The subscription is the basic unit of resource usage in Datahub Service under Publish/Subscribe model. You can manage the relationships between user and topics by using subscriptions. Refer to details.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The topic is the basic unit of Datahub data source and is used to define one kind of data or stream. It contains a set of subscriptions. You can manage the datahub source of an application by using topics. Refer to details.

Link copied to clipboard
data class TopicArgs(val comment: Output<String>? = null, val lifeCycle: Output<Int>? = null, val name: Output<String>? = null, val projectName: Output<String>? = null, val recordSchema: Output<Map<String, Any>>? = null, val recordType: Output<String>? = null, val shardCount: Output<Int>? = null) : ConvertibleToJava<TopicArgs>

The topic is the basic unit of Datahub data source and is used to define one kind of data or stream. It contains a set of subscriptions. You can manage the datahub source of an application by using topics. Refer to details.

Link copied to clipboard

Builder for TopicArgs.

Link copied to clipboard
Link copied to clipboard

Builder for Topic.

Functions

Link copied to clipboard
suspend fun projectResource(name: String, block: suspend ProjectResourceBuilder.() -> Unit): Project
Link copied to clipboard
suspend fun subscriptionResource(name: String, block: suspend SubscriptionResourceBuilder.() -> Unit): Subscription
Link copied to clipboard
suspend fun topicResource(name: String, block: suspend TopicResourceBuilder.() -> Unit): Topic