Revert "rename"

This reverts commit 35b5264ab7.
This commit is contained in:
chrislu
2023-10-12 20:28:11 -07:00
parent 1cac5d983d
commit de0b969b36
8 changed files with 555 additions and 513 deletions

View File

@@ -72,9 +72,9 @@ func NewMessageBroker(option *MessageQueueBrokerOption, grpcDialOption grpc.Dial
lockClient := cluster.NewLockClient(grpcDialOption, mqBroker.currentFiler)
mqBroker.lockAsBalancer = lockClient.StartLock(balancer.LockBrokerBalancer, self)
for {
err := mqBroker.BrokerConnectToPubCoordinator(self)
err := mqBroker.BrokerConnectToBalancer(self)
if err != nil {
fmt.Printf("BrokerConnectToPubCoordinator: %v\n", err)
fmt.Printf("BrokerConnectToBalancer: %v\n", err)
}
time.Sleep(time.Second)
}