On the documentation for confluent kafka\'s dotnet producers the given example is like this:
using Confluent.Kafka; using System.Net; ... var config = new Produc