debug:增加测试kafka库代码
This commit is contained in:
parent
1dfe434aee
commit
71315a07fd
@ -11,6 +11,11 @@ try
|
|||||||
{
|
{
|
||||||
_BUGOptions.EnablePref = "on".Equals(args[0]);
|
_BUGOptions.EnablePref = "on".Equals(args[0]);
|
||||||
Console.WriteLine($"是否启动优化模式:{_BUGOptions.EnablePref}");
|
Console.WriteLine($"是否启动优化模式:{_BUGOptions.EnablePref}");
|
||||||
|
if (_BUGOptions.EnablePref)
|
||||||
|
{
|
||||||
|
var loadSuccess = Confluent.Kafka.Library.Load(null);
|
||||||
|
Console.WriteLine($"加载{loadSuccess},版本号:{Confluent.Kafka.Library.VersionString}");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
builder
|
builder
|
||||||
.AddConfigurationContainer()
|
.AddConfigurationContainer()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user