File tree 2 files changed +14
-0
lines changed
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change
1
+ Extended the ` MirrordKafkaTopicsConsumer ` CRD with ` split_ttl ` field.
Original file line number Diff line number Diff line change @@ -128,6 +128,19 @@ pub struct MirrordKafkaTopicsConsumerSpec {
128
128
#[ serde( skip_serializing_if = "Option::is_none" ) ]
129
129
pub consumer_restart_timeout : Option < u32 > ,
130
130
131
+ /// Period of time to wait before cleaning up Kafka splits for this consumer and reverting Pod
132
+ /// template patches (in seconds).
133
+ ///
134
+ /// For any given topic, starting the first Kafka splitting session requires patching the
135
+ /// target workload. Similarly, stopping the last Kafka splitting session requires another
136
+ /// patch, that reverts the first one.
137
+ ///
138
+ /// If the target workload takes a long time to restart, it may be desirable to keep the Kafka
139
+ /// splits alive longer, so that the next Kafka splitting session will not have to patch
140
+ /// the workload again.
141
+ #[ serde( skip_serializing_if = "Option::is_none" ) ]
142
+ pub split_ttl : Option < u32 > ,
143
+
131
144
/// List of consumed splittable topics.
132
145
pub topics : Vec < KafkaTopicDetails > ,
133
146
}
You can’t perform that action at this time.
0 commit comments