travisjeffery / jocko

Kafka implemented in Golang with built-in coordination (No ZK dep, single binary install, Cloud Native)
https://twitter.com/travisjeffery
MIT License
4.94k stars 363 forks source link

Incorrect protocol for Metadata V1 requests #159

Open snichme opened 4 years ago

snichme commented 4 years ago

The protocol/api_versions.go says it supports metadata v 0..1 but it doesn't handle metadata requests where topic length is set to -1 (which is allowed in v1). It's also missing rack string for each broker and an internal flag for each topic in the metadata response.