return the lookup results

This commit is contained in:
chrislu 2024-01-28 12:05:44 -08:00
parent 841fafd0a8
commit d40225ecd2

View File

@ -34,6 +34,7 @@ func (b *MessageQueueBroker) LookupTopicBrokers(ctx context.Context, request *mq
glog.V(0).Infof("lookup topic %s conf: %v", request.Topic, err)
} else {
err = b.ensureTopicActiveAssignments(t, conf)
ret.BrokerPartitionAssignments = conf.BrokerPartitionAssignments
}
return ret, err