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
parent
commit
8d6bd0f019
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/DotNetCore.CAP.Kafka/IProcessingServer.AutoCreateTopic.cs

+ 1
- 1
src/DotNetCore.CAP.Kafka/IProcessingServer.AutoCreateTopic.cs View File

@@ -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();



Loading…
Cancel
Save