create topic and report topic
This commit is contained in:
@@ -47,5 +47,5 @@ func (b *Balancer) LookupOrAllocateTopicPartitions(topic *mq_pb.Topic, publish b
|
||||
if b.Brokers.IsEmpty() {
|
||||
return nil, ErrNoBroker
|
||||
}
|
||||
return allocateTopicPartitions(b.Brokers, 6), nil
|
||||
return allocateTopicPartitions(b.Brokers, partitionCount), nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user