You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by sh...@apache.org on 2017/01/09 16:21:39 UTC

[05/50] [abbrv] incubator-unomi git commit: UNOMI-63 Use ElasticSearch BulkProcessing to perform segment updates - Add minimal configuration documentation - Change bulk size value back to its default 5MB size

UNOMI-63 Use ElasticSearch BulkProcessing to perform segment updates
- Add minimal configuration documentation
- Change bulk size value back to its default 5MB size


Project: http://git-wip-us.apache.org/repos/asf/incubator-unomi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-unomi/commit/9a582147
Tree: http://git-wip-us.apache.org/repos/asf/incubator-unomi/tree/9a582147
Diff: http://git-wip-us.apache.org/repos/asf/incubator-unomi/diff/9a582147

Branch: refs/heads/master
Commit: 9a582147ef1bf2058d99172b392da5867ffbae52
Parents: 73efe57
Author: Serge Huber <sh...@apache.org>
Authored: Thu Nov 17 09:34:30 2016 +0100
Committer: Serge Huber <sh...@apache.org>
Committed: Thu Nov 17 09:34:30 2016 +0100

----------------------------------------------------------------------
 .../resources/org.apache.unomi.persistence.elasticsearch.cfg   | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/9a582147/persistence-elasticsearch/core/src/main/resources/org.apache.unomi.persistence.elasticsearch.cfg
----------------------------------------------------------------------
diff --git a/persistence-elasticsearch/core/src/main/resources/org.apache.unomi.persistence.elasticsearch.cfg b/persistence-elasticsearch/core/src/main/resources/org.apache.unomi.persistence.elasticsearch.cfg
index c5d906f..2b193f6 100644
--- a/persistence-elasticsearch/core/src/main/resources/org.apache.unomi.persistence.elasticsearch.cfg
+++ b/persistence-elasticsearch/core/src/main/resources/org.apache.unomi.persistence.elasticsearch.cfg
@@ -26,9 +26,13 @@ node.data=true
 discovery.zen.ping.multicast.enabled=false
 #discovery.zen.ping.unicast.hosts=["192.168.0.1:9300", "192.168.0.2:9300"]
 defaultQueryLimit=10
+
+# The following settings control the behavior of the BulkProcessor API. You can find more information about these
+# settings and their behavior here : https://www.elastic.co/guide/en/elasticsearch/client/java-api/2.4/java-docs-bulk-processor.html
+# The values used here are the default values of the API
 bulkProcessor.name=unomi-bulk
 bulkProcessor.concurrentRequests=1
 bulkProcessor.bulkActions=1000
-bulkProcessor.bulkSize=10MB
+bulkProcessor.bulkSize=5MB
 bulkProcessor.flushInterval=5s
 bulkProcessor.backoffPolicy=exponential
\ No newline at end of file