jerrypeng commented on issue #221: Auto update the client to handle changes in number of partitions URL: https://github.com/apache/pulsar-client-go/pull/221#issuecomment-613681074 General question about how locks are handled in Go, when multiple threads are waiting on a lock. In what order are the locks released? FIFO? Or just everyone attempts to acquire and first one wins? I am asking because I am wondering if there are going to be any thread starvation going on for the thread that periodically checks for new partitions especially when "sendAsync" can be called quite frequently.
---------------------------------------------------------------- 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
