wvanbergen / kazoo-go

Go library to access Kafka metadata in Zookeeper
http://godoc.org/github.com/wvanbergen/kazoo-go
MIT License
100 stars 48 forks source link

Add WatchPartitionOwner to set a zookeeper watch on the owner of a partition #8

Closed wvanbergen closed 9 years ago

wvanbergen commented 9 years ago

@nemothekid This allows us to simply wait for the partition to become available, instead of sleeping and retrying, as mentioned in https://github.com/wvanbergen/kafka/pull/68

wvanbergen commented 9 years ago

Closing in favour of #10