yzletter opened a new issue, #1165:
URL: https://github.com/apache/rocketmq-clients/issues/1165

   ### Before Creating the Bug Report
   
   - [x] I found a bug, not just asking a question, which should be created in 
[GitHub Discussions](https://github.com/apache/rocketmq-clients/discussions).
   
   - [x] I have searched the [GitHub 
Issues](https://github.com/apache/rocketmq-clients/issues) and [GitHub 
Discussions](https://github.com/apache/rocketmq-clients/discussions)  of this 
repository and believe that this is not a duplicate.
   
   - [x] I have confirmed that this bug belongs to the current repository, not 
other repositories of RocketMQ.
   
   
   ### Programming Language of the Client
   
   Java
   
   ### Runtime Platform Environment
   
   MacOS
   
   ### RocketMQ Version of the Client/Server
   
   v5.1.3/client.go
   
   ### Run or Compiler Version
   
   go 1.25.3
   
   ### Describe the Bug
   
   Producer 不指定 WithTopics 
   ```go
        producer, err = rmq_client.NewProducer(
                &rmq_client.Config{
                        Endpoint:      common.EndPoint,                  
                        Credentials:   &credentials.SessionCredentials{}, 
                        NameSpace:     "",
                        ConsumerGroup: "",
                },
                rmq_client.WithMaxAttempts(1),            
                // rmq_client.WithTopics(common.NormalTopic), 
        )
   ```
   
   无法正常启动,会卡在   
   ```go
   // wait syncSettings finish
        for !cli.inited.Load() {
                sugarBaseLogger.Infoln("wait for sync settings finish")
                time.Sleep(time.Second)
        }
        sugarBaseLogger.Infoln("sync settings finished")
        return nil
   ```
   一直报
   ```shell
   2025-12-28T11:21:40.709+0800    INFO    [email protected]/client.go:590 wait for 
sync settings finish
   ```
   
   ### Steps to Reproduce
   
   Producer 不指定 WithTopics 进行 Start
   
   
   
   ### What Did You Expect to See?
   
   正常启动
   ```shell
   2025-12-28T11:27:59.264+0800    INFO    [email protected]/metric.go:337 metric is 
off, clientId=xxx
   2025-12-28T11:27:59.264+0800    INFO    [email protected]/client.go:99  Executed 
command successfully   {"client_id": "xxx"}
   2025-12-28T11:27:59.264+0800    INFO    [email protected]/metric.go:337 metric is 
off, clientId=xxx
   2025-12-28T11:27:59.264+0800    INFO    [email protected]/client.go:99  Executed 
command successfully   {"client_id": "xxx"}
   2025-12-28T11:28:00.265+0800    INFO    [email protected]/client.go:593 sync 
settings finished
   ```
   
   ### What Did You See Instead?
   
   ```shell
   2025-12-28T11:21:35.703+0800    INFO    [email protected]/client.go:590 wait for 
sync settings finish
   2025-12-28T11:21:36.703+0800    INFO    [email protected]/client.go:590 wait for 
sync settings finish
   2025-12-28T11:21:37.706+0800    INFO    [email protected]/client.go:590 wait for 
sync settings finish
   2025-12-28T11:21:38.707+0800    INFO    [email protected]/client.go:590 wait for 
sync settings finish
   2025-12-28T11:21:39.708+0800    INFO    [email protected]/client.go:590 wait for 
sync settings finish
   2025-12-28T11:21:40.709+0800    INFO    [email protected]/client.go:590 wait for 
sync settings finish
   ```
   
   ### Additional Context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to