浏览代码
Add KafkaOptions.MainConfig to AutoCreateTopic (#810)
Co-authored-by: Alexey Nikitin <Aleksey.Nikitin@domrf.ru>
master
Alexey Nikitin
3 年前
committed by
GitHub
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有
1 个文件被更改,包括
1 次插入 和
1 次删除
-
src/DotNetCore.CAP.Kafka/IProcessingServer.AutoCreateTopic.cs
|
|
@@ -31,7 +31,7 @@ namespace DotNetCore.CAP.Kafka |
|
|
|
{ |
|
|
|
try |
|
|
|
{ |
|
|
|
var config = new AdminClientConfig { BootstrapServers = _kafkaOptions.Servers }; |
|
|
|
var config = new AdminClientConfig(_kafkaOptions.MainConfig) { BootstrapServers = _kafkaOptions.Servers }; |
|
|
|
|
|
|
|
var topics = _selector.GetAllTopics(); |
|
|
|
|
|
|
|