Skip to content

Commit

Permalink
update docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
liangyepianzhou committed Oct 24, 2023
1 parent 15f7275 commit b4f21e0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ public enum Layer {
*/
PULSAR(32, true),

/**
* A scalable, fault-tolerant, and low-latency storage service optimized for real-time workloads.
*/
BOOKKEEPER(33, true);

private final int value;
Expand Down
5 changes: 4 additions & 1 deletion test/e2e-v2/cases/pulsar/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,18 @@ services:
- metadataServiceUri=metadata-store:zk:zookeeper:2181
- advertisedAddress=bookie
- BOOKIE_MEM=-Xms512m -Xmx512m -XX:MaxDirectMemorySize=256m
- prometheusStatsHttpPort=8001
- allowLoopback=true
depends_on:
zookeeper:
condition: service_healthy
volumes:
- ./data/bookkeeper:/pulsar/data/bookkeeper
ports:
- "8000:8000"
- "8001:8001"
command: >
bash -c "bin/pulsar initialize-cluster-metadata --cluster pulsar-cluster --zookeeper zookeeper:2181 --configuration-store zookeeper:2181 --web-service-url http://broker:8081 --broker-service-url pulsar://broker:6650 && bin/apply-config-from-env.py conf/bookkeeper.conf && exec bin/pulsar bookie"
bash -c "bin/apply-config-from-env.py conf/bookkeeper.conf && exec bin/pulsar bookie"
healthcheck:
test: ["CMD-SHELL", "bin/bookkeeper shell listbookies -a | grep -c 'BookieID:bookie:3181'"]
interval: 5s
Expand Down

0 comments on commit b4f21e0

Please sign in to comment.