RobertIndie commented on code in PR #1345:
URL: https://github.com/apache/pulsar-client-go/pull/1345#discussion_r2050351145


##########
pulsar/producer_partition.go:
##########
@@ -184,6 +185,7 @@ func newPartitionProducer(client *client, topic string, 
options *ProducerOptions
                options:          options,
                producerID:       client.rpcClient.NewProducerID(),
                dataChan:         make(chan *sendRequest, maxPendingMessages),
+               writeChan:        make(chan *pendingItem, maxPendingMessages),

Review Comment:
   This doesn't address the root cause. If we send too many messages, the 
`writeChan` can still get stuck, and the issue persists. I can reproduce the 
problem by producing at least `maxPendingMessages` after the cluster is shut 
down.



-- 
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