From: Gustavo Martin Morcuende Date: Sun, 19 Feb 2017 22:02:41 +0000 (+0100) Subject: Doubts about offsetUpdateTimeWindow option in consumers X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=81757f4220818dfa1fbea19eb150607cbe71dd43;p=JavaForFun Doubts about offsetUpdateTimeWindow option in consumers --- diff --git a/SpringJava/Kafka/SpringCloudStream/spring-stream-kafka-consumer/src/main/resources/application.yml b/SpringJava/Kafka/SpringCloudStream/spring-stream-kafka-consumer/src/main/resources/application.yml index 8979947..9b69f28 100644 --- a/SpringJava/Kafka/SpringCloudStream/spring-stream-kafka-consumer/src/main/resources/application.yml +++ b/SpringJava/Kafka/SpringCloudStream/spring-stream-kafka-consumer/src/main/resources/application.yml @@ -68,7 +68,10 @@ spring: # Zookeeper (I think, it is not required in Kafka v0.10.1.1 zkNodes: "kafka:2181" - offsetUpdateTimeWindow: 3000 + # I THINK THIS CONFIGURATION IS WORTHLESS... IT IS NEVER USED... + # see: https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/commit/8362cc35691ff64ce5ad401f43ca141910255b76 + # JUST IN CASE I AM GOING TO SKIP IT, JUST IN CASE THERE COULD BE SOME CONFLICT WITH autoCommitOnError :/ + offsetUpdateTimeWindow: 0 # This means the leader will wait for the full set of in-sync replicas to acknowledge the record. This guarantees that # the record will not be lost as long as at least one in-sync replica remains alive. This is the strongest available guarantee. @@ -106,4 +109,4 @@ spring: management: health: binders: - enabled: true \ No newline at end of file + enabled: true