Fast and Best Producer/consumer queue technique BlockingCollection vs concurrent Queue [closed]

BlockingCollection and ConcurrentQueue are there for precisely this reason. I doubt that you’ll find anything better, or simpler to use. The parallel extensions team know their stuff 🙂 Just a quick check on versions though – you’re definitely using .NET 4, not just C# 4? (For example, you could be using Visual Studio 2010 and … Read more

Leader Not Available Kafka in Console Producer

It could be related to advertised.host.name setting in your server.properties. What could happen is that your producer is trying to find out who is the leader for a given partition, figures out its advertised.host.name and advertised.port and tries to connect. If these settings are not configured correctly it then may think that the leader is … Read more