hailin0 opened a new issue #107: Producer deadlocks when pulsar downtime
URL: https://github.com/apache/pulsar-client-go/issues/107
 
 
   #### Expected behavior
   
   Producer works normally after pulsar restart
   
   #### Actual behavior
   
   producer#flush deadlock after pulsar restart
   
   #### Steps to reproduce
   
        for  {
                asyncMsg := pulsar.ProducerMessage{
                        Payload: []byte(fmt.Sprintf("async-message")),
                }
   
                producer.SendAsync(ctx, &asyncMsg, func(mid pulsar.MessageID, 
msg *pulsar.ProducerMessage, err error) {
                        if err != nil { log.Fatal(err) }
                })
   
                // deadlock
                producer.Flush() 
        }
   
   =======================
   Running the above program and restarting pulsar will cause producer#flush 
deadlock
   
   #### System configuration
   **Pulsar version**: latest
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to