瀏覽代碼

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 年之前
committed by GitHub
父節點
當前提交
14e67a6e37
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 0 行新增2 行删除
  1. +0
    -2
      src/DotNetCore.CAP.Kafka/KafkaConsumerClient.cs

+ 0
- 2
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);


Loading…
取消
儲存