Browse Source

fixed kafka received message sava failed caused the mssage loss bug. #78

master
Savorboard 6 years ago
parent
commit
e414aef409
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/DotNetCore.CAP.Kafka/KafkaConsumerClient.cs

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

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


Loading…
Cancel
Save