public static void Main(string[] args)
{
var section = (BrokerConfigurationSection) ConfigurationManager.GetSection("brodBroker");
var configuration = BrokerConfiguration.FromConfigurationSection(section);
Console.WriteLine("Brod Broker, v0.0.0.0.1");
Console.WriteLine("-----------------------");
Console.WriteLine(" Storage Directory: {0}", configuration.StorageDirectory);
Console.WriteLine(" Default number of partitions: {0}", configuration.NumberOfPartitions);
//var socketServer = new SocketServer(configuration.ConsumerPort, configuration.ProducerPort, 1);
//socketServer.Startup();
var server = new Broker(configuration);
server.Start();
}