You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "eaba (via GitHub)" <gi...@apache.org> on 2023/08/21 11:33:11 UTC
[GitHub] [pulsar] eaba created a discussion: Oxia
GitHub user eaba created a discussion: Oxia
I want to replace the [#zookeeper](https://twitter.com/hashtag/zookeeper?src=hashtag_click) with [#oxia](https://twitter.com/hashtag/oxia?src=hashtag_click), which is not working, how can I do it? I want to try Pulsar Oxia!
```
version: '3.8'
networks:
pulsar-oxia:
driver: bridge
#ipam:
#driver: default
#config:
#- subnet: 192.168.0.1/24
services:
ox1:
container_name: ox1
hostname: ox1
ports:
- "192.168.0.131:6649:6649"
- "192.168.0.131:6648:6648"
- "192.168.0.131:8080:8080"
image: streamnative/oxia:main
command: >
bash -c "oxia server --log-json --data-dir=/data/db --wal-dir=/data/wal --db-cache-size-mb=512 --profile && \
oxia coordinator --log-json --metadata=configmap --profile"
environment:
oxia_cluster: test
volumes:
- /data
networks:
pulsar-oxia:
#ipv4_address: 192.168.0.131
bk1:
hostname: bk1
ports:
- "192.168.0.131:3181:3181"
- "192.168.0.131:8003:8000"
container_name: bk1
image: apachepulsar/pulsar-all:3.0.0
command: >
bash -c "export dbStorage_writeCacheMaxSizeMb="$${dbStorage_writeCacheMaxSizeMb:-16}" && \
export dbStorage_readAheadCacheMaxSizeMb="$${dbStorage_readAheadCacheMaxSizeMb:-16}" && \
bin/apply-config-from-env.py conf/bookkeeper.conf && \
bin/apply-config-from-env.py conf/pulsar_env.sh && \
# bin/watch-znode.py -z $$zkServers -p /initialized-$$clusterName -w && \
exec bin/pulsar bookie"
environment:
PULSAR_MEM: >
-Xms128m
-Xmx256m
-XX:MaxDirectMemorySize=256m
PULSAR_GC: >
-XX:+UseG1GC
-XX:MaxGCPauseMillis=10
-XX:+ParallelRefProcEnabled
-XX:+UnlockExperimentalVMOptions
-XX:+DoEscapeAnalysis
-XX:ParallelGCThreads=4
-XX:ConcGCThreads=4
-XX:G1NewSizePercent=50
-XX:+DisableExplicitGC
-XX:-ResizePLAB
-XX:+ExitOnOutOfMemoryError
-XX:+PerfDisableSharedMem
# configure the memory settings based on jvm memory settings
dbStorage_writeCacheMaxSizeMb: "32"
dbStorage_readAheadCacheMaxSizeMb: "32"
dbStorage_rocksDB_writeBufferSizeMB: "8"
dbStorage_rocksDB_blockCacheSize: "8388608"
PULSAR_PREFIX_journalDirectories: "/pulsar/data/bookkeeper/journal"
extraServerComponents: "org.apache.bookkeeper.stream.server.StreamStorageLifecycleComponent"
clusterName: test
configurationStore: ox1:6649
numAddWorkerThreads: 8
useHostNameAsBookieID: "true"
volumes:
- ./scripts/apply-config-from-env.py:/pulsar/bin/apply-config-from-env.py:z
depends_on:
- ox1
#- pulsar-init
networks:
pulsar-oxia:
#ipv4_address: 192.168.0.134
```
GitHub link: https://github.com/apache/pulsar/discussions/21039
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
Re: [D] Oxia [pulsar]
Posted by "lhotari (via GitHub)" <gi...@apache.org>.
GitHub user lhotari added a comment to the discussion: Oxia
PR in apache/pulsar is https://github.com/apache/pulsar/pull/22007
GitHub link: https://github.com/apache/pulsar/discussions/21039#discussioncomment-8320783
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
Re: [D] Oxia [pulsar]
Posted by "hpvd (via GitHub)" <gi...@apache.org>.
GitHub user hpvd added a comment to the discussion: Oxia
some news on this topic: https://github.com/streamnative/oxia/discussions/346#discussioncomment-8297034
GitHub link: https://github.com/apache/pulsar/discussions/21039#discussioncomment-8299531
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
[GitHub] [pulsar] hpvd edited a comment on the discussion: Oxia
Posted by "hpvd (via GitHub)" <gi...@apache.org>.
GitHub user hpvd edited a comment on the discussion: Oxia
a short official doc for this would be super helpful and would possibly help people discovering oxia... (even those who does not read the blog or do not attend summit or its videos)
GitHub link: https://github.com/apache/pulsar/discussions/21039#discussioncomment-6783466
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
[GitHub] [pulsar] hpvd added a comment to the discussion: Oxia
Posted by "hpvd (via GitHub)" <gi...@apache.org>.
GitHub user hpvd added a comment to the discussion: Oxia
a short official doc for this would be super helpful and would possibly help people discovering oxia... (even those who does not read the blog or do not attend summit or its video)
GitHub link: https://github.com/apache/pulsar/discussions/21039#discussioncomment-6783466
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
Re: [D] Oxia [pulsar]
Posted by "merlimat (via GitHub)" <gi...@apache.org>.
GitHub user merlimat added a comment to the discussion: Oxia
We're preparing to add support in Pulsar 3.3
GitHub link: https://github.com/apache/pulsar/discussions/21039#discussioncomment-8310223
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
Re: [D] Oxia [pulsar]
Posted by "hpvd (via GitHub)" <gi...@apache.org>.
GitHub user hpvd added a comment to the discussion: Oxia
wow great news! Many thanks for all your work on this stunning project!
GitHub link: https://github.com/apache/pulsar/discussions/21039#discussioncomment-8310262
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org