diff --git a/src/DotNetCore.CAP.Kafka/KafkaConsumerClient.cs b/src/DotNetCore.CAP.Kafka/KafkaConsumerClient.cs index 0ebfc1f..2affaa6 100644 --- a/src/DotNetCore.CAP.Kafka/KafkaConsumerClient.cs +++ b/src/DotNetCore.CAP.Kafka/KafkaConsumerClient.cs @@ -54,7 +54,7 @@ namespace DotNetCore.CAP.Kafka public void Reject() { - // Ignore, Kafka will not commit offset when not commit. + _consumerClient.Assign(_consumerClient.Assignment); } public void Dispose()