Skip to content

Commit

Permalink
pkg/kversion: detect 3.6
Browse files Browse the repository at this point in the history
This does not yet add V3_6_0 since that will require a minor.
  • Loading branch information
twmb committed Oct 21, 2023
1 parent 7a60e54 commit 4e7e677
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/kversion/kversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,10 @@ func V3_3_0() *Versions { return zkBrokerOf(max330) }
func V3_4_0() *Versions { return zkBrokerOf(max340) }
func V3_5_0() *Versions { return zkBrokerOf(max350) }

/* TODO wait for franz-go v1.16
func V3_6_0() *Versions { return zkBrokerOf(max360) }
*/

func zkBrokerOf(lks listenerKeys) *Versions {
return &Versions{lks.filter(zkBroker)}
}
Expand Down

0 comments on commit 4e7e677

Please sign in to comment.