File tree 1 file changed +13
-1
lines changed
1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -304,6 +304,7 @@ func (vs *Versions) versionGuess(opts ...VersionGuessOpt) guess {
304
304
{max330 , "v3.3" },
305
305
{max340 , "v3.4" },
306
306
{max350 , "v3.5" },
307
+ {max360 , "v3.6" },
307
308
} {
308
309
for k , v := range comparison .cmp .filter (cfg .listener ) {
309
310
if v == - 1 {
@@ -445,6 +446,10 @@ func V3_3_0() *Versions { return zkBrokerOf(max330) }
445
446
func V3_4_0 () * Versions { return zkBrokerOf (max340 ) }
446
447
func V3_5_0 () * Versions { return zkBrokerOf (max350 ) }
447
448
449
+ /* TODO wait for franz-go v1.16
450
+ func V3_6_0() *Versions { return zkBrokerOf(max360) }
451
+ */
452
+
448
453
func zkBrokerOf (lks listenerKeys ) * Versions {
449
454
return & Versions {lks .filter (zkBroker )}
450
455
}
@@ -1051,8 +1056,15 @@ var max350 = nextMax(max340, func(v listenerKeys) listenerKeys {
1051
1056
return v
1052
1057
})
1053
1058
1059
+ var max360 = nextMax (max350 , func (v listenerKeys ) listenerKeys {
1060
+ // KAFKA-14402 29a1a16668d76a1cc04ec9e39ea13026f2dce1de KIP-890
1061
+ // Later commit swapped to stable
1062
+ v [24 ].inc () // 4 add partitions to txn
1063
+ return v
1064
+ })
1065
+
1054
1066
var (
1055
- maxStable = max350
1067
+ maxStable = max360
1056
1068
maxTip = nextMax (maxStable , func (v listenerKeys ) listenerKeys {
1057
1069
return v
1058
1070
})
You can’t perform that action at this time.
0 commit comments