Skip to content

Commit 539fd2f

Browse files
committed
Fix the bug that the version 10.0 of FetchTopic missed asynchronism. (#1772)
1 parent 4831bbc commit 539fd2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DotNetCore.CAP.Kafka/KafkaConsumerClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public KafkaConsumerClient(string groupId, byte groupConcurrent,
4343

4444
public BrokerAddress BrokerAddress => new("kafka", _kafkaOptions.Servers);
4545

46-
public async Task<ICollection<string>> FetchTopics(IEnumerable<string> topicNames)
46+
public async Task<ICollection<string>> FetchTopicsAsync(IEnumerable<string> topicNames)
4747
{
4848
if (topicNames == null) throw new ArgumentNullException(nameof(topicNames));
4949

0 commit comments

Comments
 (0)