We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1201227 commit bef9922Copy full SHA for bef9922
scripts/pulsar-test-service-start.sh
@@ -24,6 +24,9 @@ cd $SRC_DIR
24
25
IMAGE_NAME=pulsar-client-go-test:latest
26
27
+export PULSAR_MEM="-Xms1g -Xmx1g -XX:MaxDirectMemorySize=1g"
28
+export PULSAR_STANDALONE_USE_ZOOKEEPER=1
29
+
30
if [[ -f /.dockerenv ]]; then
31
# When running tests inside docker
32
PULSAR_ADMIN=/pulsar/bin/pulsar-admin
@@ -38,6 +41,8 @@ else
38
41
-p 6650:6650 \
39
42
-p 8443:8443 \
40
43
-p 6651:6651 \
44
+ -e PULSAR_MEM=${PULSAR_MEM} \
45
+ -e PULSAR_STANDALONE_USE_ZOOKEEPER=${PULSAR_STANDALONE_USE_ZOOKEEPER} \
46
${IMAGE_NAME} \
47
/pulsar/bin/pulsar standalone \
48
--no-functions-worker --no-stream-storage
0 commit comments