john-h-luo 9f5a0d60d1
correct typo modify comment (#16492)
Signed-off-by: John Luo <jiehua.luo@zilliz.com>
2022-04-18 14:25:37 +08:00

16 lines
893 B
YAML

- name: "pulsar"
docker_container:
name: pulsar
image: apachepulsar/pulsar:2.8.2
env:
# bin/apply-config-from-env.py script will modify the configuration file based on the environment variables
# nettyMaxFrameSizeBytes must be calculated from maxMessageSize + 10240 (padding)
nettyMaxFrameSizeBytes: "104867840" # this is 104857600 + 10240 (padding)
defaultRetentionTimeInMinutes: "10080"
defaultRetentionSizeInMB: "8192"
# maxMessageSize is missing from standalone.conf, must use PULSAR_PREFIX_ to get it configured
PULSAR_PREFIX_maxMessageSize: "104857600"
PULSAR_GC: -XX:+UseG1GC
command: "bin/pulsar standalone --no-functions-worker --no-stream-storage" #/bin/bash -c bin/apply-config-from-env.py conf/standalone.conf &&
network_mode: "{{dependencies_network}}" #Use the network which defined as variable in Inventory.