Nir Diwakar (Nir)
10/02/2024, 2:47 PMloaders:
- name: target-elasticsearch
namespace: target_elasticsearch
pip_url: -e ./targets/target-elasticsearch
executable: target-elasticsearch
config:
url: ${ES_URL}
scheme: https
slack_channel: ${SLACK_CHANNEL}
slack_token: ${SLACK_TOKEN}
dagit_url: ${DAGIT_BASE_URL}
environment: ${ENV}
tap: ${TAP}
env:
MELTANO_ELT_BUFFER_SIZE: 20000000
or this:
loaders:
- name: target-elasticsearch
namespace: target_elasticsearch
pip_url: -e ./targets/target-elasticsearch
executable: target-elasticsearch
config:
url: ${ES_URL}
scheme: https
slack_channel: ${SLACK_CHANNEL}
slack_token: ${SLACK_TOKEN}
dagit_url: ${DAGIT_BASE_URL}
environment: ${ENV}
tap: ${TAP}
elt:
buffer_size: 20000000
BuzzCutNorman
10/02/2024, 3:40 PMelt:
buffer_size: 26214400
or
elt.buffer_size: 26214400
This might be the wrong way of looking at it but I always thought of your first option as how you can set this per server via system or user using environment variables. Then you don't have to control that in your meltano config allowing you have a different value per server. You can set it via env in the meltano config but I usually default to using the normal config option.Nir Diwakar (Nir)
10/02/2024, 4:02 PMEdgar Ramírez (Arch.dev)
10/02/2024, 4:23 PMmeltano config meltano set elt.buffer_size 26214400
Nir Diwakar (Nir)
10/02/2024, 4:28 PMNir Diwakar (Nir)
10/02/2024, 4:28 PM