Przeglądaj źródła
Removes line that added the kafka key to headers an extra time. (#524)
This caused any messages published by CAP with a kafka key set to not be consumable by CAP.
Co-authored-by: Andrew Jaffie <andrewj@avi.com>
master
Andrew Jaffie
4 lat temu
committed by
GitHub
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z
0 dodań i
2 usunięć
-
src/DotNetCore.CAP.Kafka/KafkaConsumerClient.cs
|
|
@@ -62,8 +62,6 @@ namespace DotNetCore.CAP.Kafka |
|
|
|
} |
|
|
|
headers.Add(Messages.Headers.Group, _groupId); |
|
|
|
|
|
|
|
headers.Add(KafkaHeaders.KafkaKey, consumerResult.Key); |
|
|
|
|
|
|
|
if (_kafkaOptions.CustomHeaders != null) |
|
|
|
{ |
|
|
|
var customHeaders = _kafkaOptions.CustomHeaders(consumerResult); |
|
|
|