crossoverJie commented on issue #1190:
URL:
https://github.com/apache/pulsar-client-go/issues/1190#issuecomment-1991862102
Could you provide your test case? I can't reproduce.
```go
func TestCloseBroker(t *testing.T) {
client, err := NewClient(ClientOptions{
URL: lookupURL,
})
assert.Nil(t, err)
t.Logf("connect success\n")
time.Sleep(time.Second * 30)
// shutdown broker
client.Close()
t.Logf("client close sucess")
}
```
Buf if you create producer/consumer, the client will try to reconnect, maybe
the process is blocked as you described.
--
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]