Skip to content

Commit

Permalink
Reduce defaut fetch.max.wait.ms for kafka consumers to 5 seconds
Browse files Browse the repository at this point in the history
* We observed issues with our consumers getting rebalanced with the 10
  seconds timeout

Signed-off-by: Yannic Klem <yannic.klem@bosch.io>
  • Loading branch information
Yannic92 authored and thjaeckle committed Nov 12, 2021
1 parent d1e2458 commit 2f6e607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connectivity/service/src/main/resources/connectivity.conf
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ ditto {
# can be defined in this configuration section.
kafka-clients {
enable.auto.commit = true
fetch.max.wait.ms = 10000
fetch.max.wait.ms = 5000
fetch.max.wait.ms = ${?KAFKA_CONSUMER_FETCH_MAX_WAIT_MS}
}
}
Expand Down

0 comments on commit 2f6e607

Please sign in to comment.