published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
The Kafka Topic resource allows the creation and management of Aiven Kafka Topics.
Example Usage
Example coming soon!
Example coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aiven.KafkaTopic;
import com.pulumi.aiven.KafkaTopicArgs;
import com.pulumi.aiven.inputs.KafkaTopicConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var mytesttopic = new KafkaTopic("mytesttopic", KafkaTopicArgs.builder()
.project(aiven_project.myproject().project())
.serviceName(aiven_kafka.myservice().service_name())
.topicName("<TOPIC_NAME>")
.partitions(5)
.replication(3)
.terminationProtection(true)
.config(KafkaTopicConfigArgs.builder()
.flushMs(10)
.uncleanLeaderElectionEnable(true)
.cleanupPolicy("compact,delete")
.build())
.timeouts(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
}
}
Example coming soon!
Example coming soon!
resources:
mytesttopic:
type: aiven:KafkaTopic
properties:
project: ${aiven_project.myproject.project}
serviceName: ${aiven_kafka.myservice.service_name}
topicName: <TOPIC_NAME>
partitions: 5
replication: 3
terminationProtection: true
config:
flushMs: 10
uncleanLeaderElectionEnable: true
cleanupPolicy: compact,delete
timeouts:
- create: 1m
read: 5m
Create KafkaTopic Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new KafkaTopic(name: string, args: KafkaTopicArgs, opts?: CustomResourceOptions);@overload
def KafkaTopic(resource_name: str,
args: KafkaTopicArgs,
opts: Optional[ResourceOptions] = None)
@overload
def KafkaTopic(resource_name: str,
opts: Optional[ResourceOptions] = None,
partitions: Optional[int] = None,
project: Optional[str] = None,
replication: Optional[int] = None,
service_name: Optional[str] = None,
topic_name: Optional[str] = None,
config: Optional[KafkaTopicConfigArgs] = None,
tags: Optional[Sequence[KafkaTopicTagArgs]] = None,
termination_protection: Optional[bool] = None)func NewKafkaTopic(ctx *Context, name string, args KafkaTopicArgs, opts ...ResourceOption) (*KafkaTopic, error)public KafkaTopic(string name, KafkaTopicArgs args, CustomResourceOptions? opts = null)
public KafkaTopic(String name, KafkaTopicArgs args)
public KafkaTopic(String name, KafkaTopicArgs args, CustomResourceOptions options)
type: aiven:KafkaTopic
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args KafkaTopicArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args KafkaTopicArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args KafkaTopicArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args KafkaTopicArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args KafkaTopicArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var kafkaTopicResource = new Aiven.KafkaTopic("kafkaTopicResource", new()
{
Partitions = 0,
Project = "string",
Replication = 0,
ServiceName = "string",
TopicName = "string",
Config = new Aiven.Inputs.KafkaTopicConfigArgs
{
CleanupPolicy = "string",
CompressionType = "string",
DeleteRetentionMs = "string",
FileDeleteDelayMs = "string",
FlushMessages = "string",
FlushMs = "string",
IndexIntervalBytes = "string",
MaxCompactionLagMs = "string",
MaxMessageBytes = "string",
MessageDownconversionEnable = "string",
MessageFormatVersion = "string",
MessageTimestampDifferenceMaxMs = "string",
MessageTimestampType = "string",
MinCleanableDirtyRatio = "string",
MinCompactionLagMs = "string",
MinInsyncReplicas = "string",
Preallocate = "string",
RetentionBytes = "string",
RetentionMs = "string",
SegmentBytes = "string",
SegmentIndexBytes = "string",
SegmentJitterMs = "string",
SegmentMs = "string",
UncleanLeaderElectionEnable = "string",
},
Tags = new[]
{
new Aiven.Inputs.KafkaTopicTagArgs
{
Key = "string",
Value = "string",
},
},
TerminationProtection = false,
});
example, err := aiven.NewKafkaTopic(ctx, "kafkaTopicResource", &aiven.KafkaTopicArgs{
Partitions: pulumi.Int(0),
Project: pulumi.String("string"),
Replication: pulumi.Int(0),
ServiceName: pulumi.String("string"),
TopicName: pulumi.String("string"),
Config: &aiven.KafkaTopicConfigArgs{
CleanupPolicy: pulumi.String("string"),
CompressionType: pulumi.String("string"),
DeleteRetentionMs: pulumi.String("string"),
FileDeleteDelayMs: pulumi.String("string"),
FlushMessages: pulumi.String("string"),
FlushMs: pulumi.String("string"),
IndexIntervalBytes: pulumi.String("string"),
MaxCompactionLagMs: pulumi.String("string"),
MaxMessageBytes: pulumi.String("string"),
MessageDownconversionEnable: pulumi.String("string"),
MessageFormatVersion: pulumi.String("string"),
MessageTimestampDifferenceMaxMs: pulumi.String("string"),
MessageTimestampType: pulumi.String("string"),
MinCleanableDirtyRatio: pulumi.String("string"),
MinCompactionLagMs: pulumi.String("string"),
MinInsyncReplicas: pulumi.String("string"),
Preallocate: pulumi.String("string"),
RetentionBytes: pulumi.String("string"),
RetentionMs: pulumi.String("string"),
SegmentBytes: pulumi.String("string"),
SegmentIndexBytes: pulumi.String("string"),
SegmentJitterMs: pulumi.String("string"),
SegmentMs: pulumi.String("string"),
UncleanLeaderElectionEnable: pulumi.String("string"),
},
Tags: aiven.KafkaTopicTagArray{
&aiven.KafkaTopicTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
TerminationProtection: pulumi.Bool(false),
})
var kafkaTopicResource = new KafkaTopic("kafkaTopicResource", KafkaTopicArgs.builder()
.partitions(0)
.project("string")
.replication(0)
.serviceName("string")
.topicName("string")
.config(KafkaTopicConfigArgs.builder()
.cleanupPolicy("string")
.compressionType("string")
.deleteRetentionMs("string")
.fileDeleteDelayMs("string")
.flushMessages("string")
.flushMs("string")
.indexIntervalBytes("string")
.maxCompactionLagMs("string")
.maxMessageBytes("string")
.messageDownconversionEnable("string")
.messageFormatVersion("string")
.messageTimestampDifferenceMaxMs("string")
.messageTimestampType("string")
.minCleanableDirtyRatio("string")
.minCompactionLagMs("string")
.minInsyncReplicas("string")
.preallocate("string")
.retentionBytes("string")
.retentionMs("string")
.segmentBytes("string")
.segmentIndexBytes("string")
.segmentJitterMs("string")
.segmentMs("string")
.uncleanLeaderElectionEnable("string")
.build())
.tags(KafkaTopicTagArgs.builder()
.key("string")
.value("string")
.build())
.terminationProtection(false)
.build());
kafka_topic_resource = aiven.KafkaTopic("kafkaTopicResource",
partitions=0,
project="string",
replication=0,
service_name="string",
topic_name="string",
config={
"cleanup_policy": "string",
"compression_type": "string",
"delete_retention_ms": "string",
"file_delete_delay_ms": "string",
"flush_messages": "string",
"flush_ms": "string",
"index_interval_bytes": "string",
"max_compaction_lag_ms": "string",
"max_message_bytes": "string",
"message_downconversion_enable": "string",
"message_format_version": "string",
"message_timestamp_difference_max_ms": "string",
"message_timestamp_type": "string",
"min_cleanable_dirty_ratio": "string",
"min_compaction_lag_ms": "string",
"min_insync_replicas": "string",
"preallocate": "string",
"retention_bytes": "string",
"retention_ms": "string",
"segment_bytes": "string",
"segment_index_bytes": "string",
"segment_jitter_ms": "string",
"segment_ms": "string",
"unclean_leader_election_enable": "string",
},
tags=[{
"key": "string",
"value": "string",
}],
termination_protection=False)
const kafkaTopicResource = new aiven.KafkaTopic("kafkaTopicResource", {
partitions: 0,
project: "string",
replication: 0,
serviceName: "string",
topicName: "string",
config: {
cleanupPolicy: "string",
compressionType: "string",
deleteRetentionMs: "string",
fileDeleteDelayMs: "string",
flushMessages: "string",
flushMs: "string",
indexIntervalBytes: "string",
maxCompactionLagMs: "string",
maxMessageBytes: "string",
messageDownconversionEnable: "string",
messageFormatVersion: "string",
messageTimestampDifferenceMaxMs: "string",
messageTimestampType: "string",
minCleanableDirtyRatio: "string",
minCompactionLagMs: "string",
minInsyncReplicas: "string",
preallocate: "string",
retentionBytes: "string",
retentionMs: "string",
segmentBytes: "string",
segmentIndexBytes: "string",
segmentJitterMs: "string",
segmentMs: "string",
uncleanLeaderElectionEnable: "string",
},
tags: [{
key: "string",
value: "string",
}],
terminationProtection: false,
});
type: aiven:KafkaTopic
properties:
config:
cleanupPolicy: string
compressionType: string
deleteRetentionMs: string
fileDeleteDelayMs: string
flushMessages: string
flushMs: string
indexIntervalBytes: string
maxCompactionLagMs: string
maxMessageBytes: string
messageDownconversionEnable: string
messageFormatVersion: string
messageTimestampDifferenceMaxMs: string
messageTimestampType: string
minCleanableDirtyRatio: string
minCompactionLagMs: string
minInsyncReplicas: string
preallocate: string
retentionBytes: string
retentionMs: string
segmentBytes: string
segmentIndexBytes: string
segmentJitterMs: string
segmentMs: string
uncleanLeaderElectionEnable: string
partitions: 0
project: string
replication: 0
serviceName: string
tags:
- key: string
value: string
terminationProtection: false
topicName: string
KafkaTopic Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The KafkaTopic resource accepts the following input properties:
- Partitions int
- The number of partitions to create in the topic.
- Project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- Replication int
- The replication factor for the topic.
- Service
Name string - Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- Topic
Name string - The name of the topic. This property cannot be changed, doing so forces recreation of the resource.
- Config
Kafka
Topic Config - Kafka topic configuration
-
List<Kafka
Topic Tag> - Kafka Topic tag.
- Termination
Protection bool - It is a Terraform client-side deletion protection, which prevents a Kafka topic from being deleted. It is recommended to enable this for any production Kafka topic containing critical data.
- Partitions int
- The number of partitions to create in the topic.
- Project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- Replication int
- The replication factor for the topic.
- Service
Name string - Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- Topic
Name string - The name of the topic. This property cannot be changed, doing so forces recreation of the resource.
- Config
Kafka
Topic Config Args - Kafka topic configuration
-
[]Kafka
Topic Tag Args - Kafka Topic tag.
- Termination
Protection bool - It is a Terraform client-side deletion protection, which prevents a Kafka topic from being deleted. It is recommended to enable this for any production Kafka topic containing critical data.
- partitions Integer
- The number of partitions to create in the topic.
- project String
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- replication Integer
- The replication factor for the topic.
- service
Name String - Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- topic
Name String - The name of the topic. This property cannot be changed, doing so forces recreation of the resource.
- config
Kafka
Topic Config - Kafka topic configuration
-
List<Kafka
Topic Tag> - Kafka Topic tag.
- termination
Protection Boolean - It is a Terraform client-side deletion protection, which prevents a Kafka topic from being deleted. It is recommended to enable this for any production Kafka topic containing critical data.
- partitions number
- The number of partitions to create in the topic.
- project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- replication number
- The replication factor for the topic.
- service
Name string - Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- topic
Name string - The name of the topic. This property cannot be changed, doing so forces recreation of the resource.
- config
Kafka
Topic Config - Kafka topic configuration
-
Kafka
Topic Tag[] - Kafka Topic tag.
- termination
Protection boolean - It is a Terraform client-side deletion protection, which prevents a Kafka topic from being deleted. It is recommended to enable this for any production Kafka topic containing critical data.
- partitions int
- The number of partitions to create in the topic.
- project str
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- replication int
- The replication factor for the topic.
- service_
name str - Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- topic_
name str - The name of the topic. This property cannot be changed, doing so forces recreation of the resource.
- config
Kafka
Topic Config Args - Kafka topic configuration
-
Sequence[Kafka
Topic Tag Args] - Kafka Topic tag.
- termination_
protection bool - It is a Terraform client-side deletion protection, which prevents a Kafka topic from being deleted. It is recommended to enable this for any production Kafka topic containing critical data.
- partitions Number
- The number of partitions to create in the topic.
- project String
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- replication Number
- The replication factor for the topic.
- service
Name String - Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- topic
Name String - The name of the topic. This property cannot be changed, doing so forces recreation of the resource.
- config Property Map
- Kafka topic configuration
- List<Property Map>
- Kafka Topic tag.
- termination
Protection Boolean - It is a Terraform client-side deletion protection, which prevents a Kafka topic from being deleted. It is recommended to enable this for any production Kafka topic containing critical data.
Outputs
All input properties are implicitly available as output properties. Additionally, the KafkaTopic resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing KafkaTopic Resource
Get an existing KafkaTopic resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: KafkaTopicState, opts?: CustomResourceOptions): KafkaTopic@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
config: Optional[KafkaTopicConfigArgs] = None,
partitions: Optional[int] = None,
project: Optional[str] = None,
replication: Optional[int] = None,
service_name: Optional[str] = None,
tags: Optional[Sequence[KafkaTopicTagArgs]] = None,
termination_protection: Optional[bool] = None,
topic_name: Optional[str] = None) -> KafkaTopicfunc GetKafkaTopic(ctx *Context, name string, id IDInput, state *KafkaTopicState, opts ...ResourceOption) (*KafkaTopic, error)public static KafkaTopic Get(string name, Input<string> id, KafkaTopicState? state, CustomResourceOptions? opts = null)public static KafkaTopic get(String name, Output<String> id, KafkaTopicState state, CustomResourceOptions options)resources: _: type: aiven:KafkaTopic get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Config
Kafka
Topic Config - Kafka topic configuration
- Partitions int
- The number of partitions to create in the topic.
- Project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- Replication int
- The replication factor for the topic.
- Service
Name string - Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
-
List<Kafka
Topic Tag> - Kafka Topic tag.
- Termination
Protection bool - It is a Terraform client-side deletion protection, which prevents a Kafka topic from being deleted. It is recommended to enable this for any production Kafka topic containing critical data.
- Topic
Name string - The name of the topic. This property cannot be changed, doing so forces recreation of the resource.
- Config
Kafka
Topic Config Args - Kafka topic configuration
- Partitions int
- The number of partitions to create in the topic.
- Project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- Replication int
- The replication factor for the topic.
- Service
Name string - Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
-
[]Kafka
Topic Tag Args - Kafka Topic tag.
- Termination
Protection bool - It is a Terraform client-side deletion protection, which prevents a Kafka topic from being deleted. It is recommended to enable this for any production Kafka topic containing critical data.
- Topic
Name string - The name of the topic. This property cannot be changed, doing so forces recreation of the resource.
- config
Kafka
Topic Config - Kafka topic configuration
- partitions Integer
- The number of partitions to create in the topic.
- project String
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- replication Integer
- The replication factor for the topic.
- service
Name String - Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
-
List<Kafka
Topic Tag> - Kafka Topic tag.
- termination
Protection Boolean - It is a Terraform client-side deletion protection, which prevents a Kafka topic from being deleted. It is recommended to enable this for any production Kafka topic containing critical data.
- topic
Name String - The name of the topic. This property cannot be changed, doing so forces recreation of the resource.
- config
Kafka
Topic Config - Kafka topic configuration
- partitions number
- The number of partitions to create in the topic.
- project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- replication number
- The replication factor for the topic.
- service
Name string - Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
-
Kafka
Topic Tag[] - Kafka Topic tag.
- termination
Protection boolean - It is a Terraform client-side deletion protection, which prevents a Kafka topic from being deleted. It is recommended to enable this for any production Kafka topic containing critical data.
- topic
Name string - The name of the topic. This property cannot be changed, doing so forces recreation of the resource.
- config
Kafka
Topic Config Args - Kafka topic configuration
- partitions int
- The number of partitions to create in the topic.
- project str
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- replication int
- The replication factor for the topic.
- service_
name str - Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
-
Sequence[Kafka
Topic Tag Args] - Kafka Topic tag.
- termination_
protection bool - It is a Terraform client-side deletion protection, which prevents a Kafka topic from being deleted. It is recommended to enable this for any production Kafka topic containing critical data.
- topic_
name str - The name of the topic. This property cannot be changed, doing so forces recreation of the resource.
- config Property Map
- Kafka topic configuration
- partitions Number
- The number of partitions to create in the topic.
- project String
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- replication Number
- The replication factor for the topic.
- service
Name String - Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- List<Property Map>
- Kafka Topic tag.
- termination
Protection Boolean - It is a Terraform client-side deletion protection, which prevents a Kafka topic from being deleted. It is recommended to enable this for any production Kafka topic containing critical data.
- topic
Name String - The name of the topic. This property cannot be changed, doing so forces recreation of the resource.
Supporting Types
KafkaTopicConfig, KafkaTopicConfigArgs
- Cleanup
Policy string - cleanup.policy value
- Compression
Type string - compression.type value
- Delete
Retention stringMs - delete.retention.ms value
- File
Delete stringDelay Ms - file.delete.delay.ms value
- Flush
Messages string - flush.messages value
- Flush
Ms string - flush.ms value
- Index
Interval stringBytes - index.interval.bytes value
- Max
Compaction stringLag Ms - max.compaction.lag.ms value
- Max
Message stringBytes - max.message.bytes value
- Message
Downconversion stringEnable - message.downconversion.enable value
- Message
Format stringVersion - message.format.version value
- Message
Timestamp stringDifference Max Ms - message.timestamp.difference.max.ms value
- Message
Timestamp stringType - message.timestamp.type value
- Min
Cleanable stringDirty Ratio - min.cleanable.dirty.ratio value
- Min
Compaction stringLag Ms - min.compaction.lag.ms value
- Min
Insync stringReplicas - min.insync.replicas value
- Preallocate string
- preallocate value
- Retention
Bytes string - retention.bytes value
- Retention
Ms string - retention.ms value
- Segment
Bytes string - segment.bytes value
- Segment
Index stringBytes - segment.index.bytes value
- Segment
Jitter stringMs - segment.jitter.ms value
- Segment
Ms string - segment.ms value
- Unclean
Leader stringElection Enable - unclean.leader.election.enable value
- Cleanup
Policy string - cleanup.policy value
- Compression
Type string - compression.type value
- Delete
Retention stringMs - delete.retention.ms value
- File
Delete stringDelay Ms - file.delete.delay.ms value
- Flush
Messages string - flush.messages value
- Flush
Ms string - flush.ms value
- Index
Interval stringBytes - index.interval.bytes value
- Max
Compaction stringLag Ms - max.compaction.lag.ms value
- Max
Message stringBytes - max.message.bytes value
- Message
Downconversion stringEnable - message.downconversion.enable value
- Message
Format stringVersion - message.format.version value
- Message
Timestamp stringDifference Max Ms - message.timestamp.difference.max.ms value
- Message
Timestamp stringType - message.timestamp.type value
- Min
Cleanable stringDirty Ratio - min.cleanable.dirty.ratio value
- Min
Compaction stringLag Ms - min.compaction.lag.ms value
- Min
Insync stringReplicas - min.insync.replicas value
- Preallocate string
- preallocate value
- Retention
Bytes string - retention.bytes value
- Retention
Ms string - retention.ms value
- Segment
Bytes string - segment.bytes value
- Segment
Index stringBytes - segment.index.bytes value
- Segment
Jitter stringMs - segment.jitter.ms value
- Segment
Ms string - segment.ms value
- Unclean
Leader stringElection Enable - unclean.leader.election.enable value
- cleanup
Policy String - cleanup.policy value
- compression
Type String - compression.type value
- delete
Retention StringMs - delete.retention.ms value
- file
Delete StringDelay Ms - file.delete.delay.ms value
- flush
Messages String - flush.messages value
- flush
Ms String - flush.ms value
- index
Interval StringBytes - index.interval.bytes value
- max
Compaction StringLag Ms - max.compaction.lag.ms value
- max
Message StringBytes - max.message.bytes value
- message
Downconversion StringEnable - message.downconversion.enable value
- message
Format StringVersion - message.format.version value
- message
Timestamp StringDifference Max Ms - message.timestamp.difference.max.ms value
- message
Timestamp StringType - message.timestamp.type value
- min
Cleanable StringDirty Ratio - min.cleanable.dirty.ratio value
- min
Compaction StringLag Ms - min.compaction.lag.ms value
- min
Insync StringReplicas - min.insync.replicas value
- preallocate String
- preallocate value
- retention
Bytes String - retention.bytes value
- retention
Ms String - retention.ms value
- segment
Bytes String - segment.bytes value
- segment
Index StringBytes - segment.index.bytes value
- segment
Jitter StringMs - segment.jitter.ms value
- segment
Ms String - segment.ms value
- unclean
Leader StringElection Enable - unclean.leader.election.enable value
- cleanup
Policy string - cleanup.policy value
- compression
Type string - compression.type value
- delete
Retention stringMs - delete.retention.ms value
- file
Delete stringDelay Ms - file.delete.delay.ms value
- flush
Messages string - flush.messages value
- flush
Ms string - flush.ms value
- index
Interval stringBytes - index.interval.bytes value
- max
Compaction stringLag Ms - max.compaction.lag.ms value
- max
Message stringBytes - max.message.bytes value
- message
Downconversion stringEnable - message.downconversion.enable value
- message
Format stringVersion - message.format.version value
- message
Timestamp stringDifference Max Ms - message.timestamp.difference.max.ms value
- message
Timestamp stringType - message.timestamp.type value
- min
Cleanable stringDirty Ratio - min.cleanable.dirty.ratio value
- min
Compaction stringLag Ms - min.compaction.lag.ms value
- min
Insync stringReplicas - min.insync.replicas value
- preallocate string
- preallocate value
- retention
Bytes string - retention.bytes value
- retention
Ms string - retention.ms value
- segment
Bytes string - segment.bytes value
- segment
Index stringBytes - segment.index.bytes value
- segment
Jitter stringMs - segment.jitter.ms value
- segment
Ms string - segment.ms value
- unclean
Leader stringElection Enable - unclean.leader.election.enable value
- cleanup_
policy str - cleanup.policy value
- compression_
type str - compression.type value
- delete_
retention_ strms - delete.retention.ms value
- file_
delete_ strdelay_ ms - file.delete.delay.ms value
- flush_
messages str - flush.messages value
- flush_
ms str - flush.ms value
- index_
interval_ strbytes - index.interval.bytes value
- max_
compaction_ strlag_ ms - max.compaction.lag.ms value
- max_
message_ strbytes - max.message.bytes value
- message_
downconversion_ strenable - message.downconversion.enable value
- message_
format_ strversion - message.format.version value
- message_
timestamp_ strdifference_ max_ ms - message.timestamp.difference.max.ms value
- message_
timestamp_ strtype - message.timestamp.type value
- min_
cleanable_ strdirty_ ratio - min.cleanable.dirty.ratio value
- min_
compaction_ strlag_ ms - min.compaction.lag.ms value
- min_
insync_ strreplicas - min.insync.replicas value
- preallocate str
- preallocate value
- retention_
bytes str - retention.bytes value
- retention_
ms str - retention.ms value
- segment_
bytes str - segment.bytes value
- segment_
index_ strbytes - segment.index.bytes value
- segment_
jitter_ strms - segment.jitter.ms value
- segment_
ms str - segment.ms value
- unclean_
leader_ strelection_ enable - unclean.leader.election.enable value
- cleanup
Policy String - cleanup.policy value
- compression
Type String - compression.type value
- delete
Retention StringMs - delete.retention.ms value
- file
Delete StringDelay Ms - file.delete.delay.ms value
- flush
Messages String - flush.messages value
- flush
Ms String - flush.ms value
- index
Interval StringBytes - index.interval.bytes value
- max
Compaction StringLag Ms - max.compaction.lag.ms value
- max
Message StringBytes - max.message.bytes value
- message
Downconversion StringEnable - message.downconversion.enable value
- message
Format StringVersion - message.format.version value
- message
Timestamp StringDifference Max Ms - message.timestamp.difference.max.ms value
- message
Timestamp StringType - message.timestamp.type value
- min
Cleanable StringDirty Ratio - min.cleanable.dirty.ratio value
- min
Compaction StringLag Ms - min.compaction.lag.ms value
- min
Insync StringReplicas - min.insync.replicas value
- preallocate String
- preallocate value
- retention
Bytes String - retention.bytes value
- retention
Ms String - retention.ms value
- segment
Bytes String - segment.bytes value
- segment
Index StringBytes - segment.index.bytes value
- segment
Jitter StringMs - segment.jitter.ms value
- segment
Ms String - segment.ms value
- unclean
Leader StringElection Enable - unclean.leader.election.enable value
KafkaTopicTag, KafkaTopicTagArgs
Import
$ pulumi import aiven:index/kafkaTopic:KafkaTopic mytesttopic project/service_name/topic_name
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aivenTerraform Provider.
published on Monday, Mar 9, 2026 by Pulumi
