AivenKafkaTopicCreateArgs

interface AivenKafkaTopicCreateArgs extends Omit<aiven.KafkaTopicArgs, 'project' | 'serviceName' | 'topicName' | 'terminationProtection'> { config?: Input<KafkaTopicConfig | undefined>; ownerUserGroupId?: Input<string | undefined>; partitions: Input<number>; replication: Input<number>; tags?: Input<Input<KafkaTopicTag>[] | undefined>; timeouts?: Input<KafkaTopicTimeouts | undefined>; topicDescription?: Input<string | undefined>; topicName: string; }

Create Kafka topic arguments.

Example

CODE
const topic: AivenKafkaTopicCreateArgs = {
  topicName: 'company.orders.v1',
  partitions: 3,
  replication: 3,
};

Hierarchy

  • KafkaTopicArgs, "project" | "serviceName" | "topicName" | "terminationProtection">
  • AivenKafkaTopicCreateArgs

Properties

config: Input<KafkaTopicConfig | undefined>

Inherited from config

Advanced parameters to configure topics. Removing the block won't reset the topic configuration to default values. Instead, the topic will retain its last known configuration.

ownerUserGroupId: Input<string | undefined>

Inherited from ownerUserGroupId

The user group that owns this topic. Length must be between 1 and 36.

partitions: Input<number>

Inherited from partitions

Number of partitions. Value must be between 1 and 1000000.

replication: Input<number>

Inherited from replication

Number of replicas. Minimum value: 1.

tags: Input<Input<KafkaTopicTag>[] | undefined>

Inherited from tags

Topic tags.

timeouts: Input<KafkaTopicTimeouts | undefined>

Inherited from timeouts

topicDescription: Input<string | undefined>

Inherited from topicDescription

Topic description. Length must be between 1 and 256.

topicName: string

Kafka topic name.