zeromq / netmq

A 100% native C# implementation of ZeroMQ for .NET
Other
2.93k stars 744 forks source link

This is a question about YPipe in Dealer -> Router. #1059

Open mck0225 opened 1 year ago

mck0225 commented 1 year ago

I have a question about the phenomenon that occurred in the combination of Dealer -> Router. If a Dealer is created without a Router being created, there is no connection between the two. At this time, Dealer's TrySendMultipartMessage was called three times in succession. If a router is created after a certain amount of time, a connection is made between the two, and the router receives 3 Msg messages. Can I set YPipe's Queue size to 1 so that only the first 1 TrySendMultipartMessage can be sent?