Here, you will find information to use the built-in transformations for Apache Kafka resources.
More information:
This is the multi-page printable view of this section. Click here to print.
Here, you will find information to use the built-in transformations for Apache Kafka resources.
More information:
This transformation can be used to enforce a maximum value for the number of partitions of kafka topics.
Name | Type | Description | Default |
---|---|---|---|
maxNumPartitions | Int | maximum value for the number of partitions to be used for Kafka Topics |
jikkou {
transformations: [
{
type = io.streamthoughts.jikkou.kafka.transform.KafkaTopicMaxNumPartitions
priority = 100
config = {
maxNumPartitions = 50
}
}
]
}
This transformation can be used to enforce a maximum value for the retention.ms
property of kafka topics.
Name | Type | Description | Default |
---|---|---|---|
maxRetentionMs | Int | Minimum value of retention.ms to be used for Kafka Topics |
jikkou {
transformations: [
{
type = io.streamthoughts.jikkou.kafka.transform.KafkaTopicMinRetentionMsTransformation
priority = 100
config = {
maxRetentionMs = 2592000000 # 30 days
}
}
]
}
This transformation can be used to enforce a minimum value for the min.insync.replicas
property of kafka topics.
Name | Type | Description | Default |
---|---|---|---|
minInSyncReplicas | Int | Minimum value of min.insync.replicas to be used for Kafka Topics |
jikkou {
transformations: [
{
type = io.streamthoughts.jikkou.kafka.transform.KafkaTopicMinInSyncReplicasTransformation
priority = 100
config = {
minInSyncReplicas = 2
}
}
]
}
This transformation can be used to enforce a minimum value for the replication factor of kafka topics.
Name | Type | Description | Default |
---|---|---|---|
minReplicationFactor | Int | Minimum value of replication factor to be used for Kafka Topics |
jikkou {
transformations: [
{
type = io.streamthoughts.jikkou.kafka.transform.KafkaTopicMinReplicasTransformation
priority = 100
config = {
minReplicationFactor = 3
}
}
]
}
This transformation can be used to enforce a minimum value for the retention.ms
property of kafka topics.
Name | Type | Description | Default |
---|---|---|---|
minRetentionMs | Int | Minimum value of retention.ms to be used for Kafka Topics |
jikkou {
transformations: [
{
type = io.streamthoughts.jikkou.kafka.transform.KafkaTopicMinRetentionMsTransformation
priority = 100
config = {
minRetentionMs = 604800000 # 7 days
}
}
]
}