Skip to content

Commit

Permalink
chore(setup): change defaults for partitions (datahub-project#6074)
Browse files Browse the repository at this point in the history
  • Loading branch information
anshbansal authored and shirshanka committed Sep 29, 2022
1 parent b804516 commit bc530c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/kafka-setup/kafka-setup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
: ${PARTITIONS:=1}
: ${PARTITIONS:=6}
: ${REPLICATION_FACTOR:=1}

: ${KAFKA_PROPERTIES_SECURITY_PROTOCOL:=PLAINTEXT}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit bc530c7

Please sign in to comment.