Browse Source
Add KafkaOptions.MainConfig to AutoCreateTopic (#810)
Co-authored-by: Alexey Nikitin <Aleksey.Nikitin@domrf.ru>
master
Alexey Nikitin
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/DotNetCore.CAP.Kafka/IProcessingServer.AutoCreateTopic.cs
|
@@ -31,7 +31,7 @@ namespace DotNetCore.CAP.Kafka |
|
|
{ |
|
|
{ |
|
|
try |
|
|
try |
|
|
{ |
|
|
{ |
|
|
var config = new AdminClientConfig { BootstrapServers = _kafkaOptions.Servers }; |
|
|
|
|
|
|
|
|
var config = new AdminClientConfig(_kafkaOptions.MainConfig) { BootstrapServers = _kafkaOptions.Servers }; |
|
|
|
|
|
|
|
|
var topics = _selector.GetAllTopics(); |
|
|
var topics = _selector.GetAllTopics(); |
|
|
|
|
|
|
|
|