chore(setup): change defaults for partitions (#6074)

This commit is contained in:
Aseem Bansal 2022-09-28 15:04:35 +05:30 committed by GitHub
parent 7e08a05a22
commit 4cf635e16e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash
: ${PARTITIONS:=1}
: ${PARTITIONS:=6}
: ${REPLICATION_FACTOR:=1}
: ${KAFKA_PROPERTIES_SECURITY_PROTOCOL:=PLAINTEXT}

View File

@ -147,7 +147,7 @@ elasticsearch:
retryInterval: ${ES_BULK_RETRY_INTERVAL:1}
index:
prefix: ${INDEX_PREFIX:}
numShards: ${ELASTICSEARCH_NUM_SHARDS_PER_INDEX:1}
numShards: ${ELASTICSEARCH_NUM_SHARDS_PER_INDEX:6}
numReplicas: ${ELASTICSEARCH_NUM_REPLICAS_PER_INDEX:1}
numRetries: ${ELASTICSEARCH_INDEX_BUILDER_NUM_RETRIES:3}
maxArrayLength: ${SEARCH_DOCUMENT_MAX_ARRAY_LENGTH:1000}