Sfoglia il codice sorgente

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

master
Savorboard 7 anni fa
parent
commit
e414aef409
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/DotNetCore.CAP.Kafka/KafkaConsumerClient.cs

+ 1
- 1
src/DotNetCore.CAP.Kafka/KafkaConsumerClient.cs Vedi 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()


Caricamento…
Annulla
Salva