Count distinct bundles
@@ -230,7 +230,7 @@ def brokers_cluster(request, cluster_name):
)
brokers = brokers.annotate(
- numBundles = Count('topic__bundle'),
+ numBundles = Count('topic__bundle', True),
numTopics = Count('topic'),
numProducers = Sum('topic__producerCount'),
numSubscriptions = Sum('topic__subscriptionCount'),
