You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by cb...@apache.org on 2018/03/06 10:34:21 UTC
[incubator-openwhisk] branch master updated: Turn off Kafka
auto-commits. (#3393)
This is an automated email from the ASF dual-hosted git repository.
cbickel pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new 593ec67 Turn off Kafka auto-commits. (#3393)
593ec67 is described below
commit 593ec679310f698517a3fb9bf323c229a4f8acee
Author: Markus Thömmes <ma...@me.com>
AuthorDate: Tue Mar 6 11:34:19 2018 +0100
Turn off Kafka auto-commits. (#3393)
We commit manually everywhere in our code. Some tests also rely on the manual commits to be the only ones around. We should be able to turn this off safely. If not we have a bug.
---
common/scala/src/main/resources/application.conf | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/common/scala/src/main/resources/application.conf b/common/scala/src/main/resources/application.conf
index 0c4f91a..b1d1163 100644
--- a/common/scala/src/main/resources/application.conf
+++ b/common/scala/src/main/resources/application.conf
@@ -66,8 +66,7 @@ whisk {
consumer {
session-timeout-ms = 30000
heartbeat-interval-ms = 10000
- enable-auto-commit = true
- auto-commit-interval-ms = 10000
+ enable-auto-commit = false
auto-offset-reset = earliest
max-poll-interval = 360000
// This value controls the server-side wait time which affects polling latency.
--
To stop receiving notification emails like this one, please contact
cbickel@apache.org.