Commit 095d42e0 authored by Savorboard's avatar Savorboard

add queue.buffering config.

parent 56c9629d
......@@ -44,6 +44,8 @@ namespace DotNetCore.CAP
{
MainConfig.Add("bootstrap.servers", Servers);
}
MainConfig["queue.buffering.max.ms"] = "10";
MainConfig["socket.blocking.max.ms"] = "10";
MainConfig["enable.auto.commit"] = "false";
return MainConfig.AsEnumerable();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment