-
Notifications
You must be signed in to change notification settings - Fork 590
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(standalone): support optionally including components (#12626)
- Loading branch information
Showing
6 changed files
with
169 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,9 +6,43 @@ export RW_PREFIX=$PWD/.risingwave | |
export PREFIX_BIN=$RW_PREFIX/bin | ||
export PREFIX_LOG=$RW_PREFIX/log | ||
|
||
# NOTE(kwannoel): Compared to start_standalone below, we omitted the compactor-opts, | ||
# so it should not start. | ||
start_standalone_without_compactor() { | ||
RUST_BACKTRACE=1 \ | ||
"$PREFIX_BIN"/risingwave/standalone \ | ||
--meta-opts=" \ | ||
--listen-addr 127.0.0.1:5690 \ | ||
--advertise-addr 127.0.0.1:5690 \ | ||
--dashboard-host 127.0.0.1:5691 \ | ||
--prometheus-host 127.0.0.1:1250 \ | ||
--connector-rpc-endpoint 127.0.0.1:50051 \ | ||
--backend etcd \ | ||
--etcd-endpoints 127.0.0.1:2388 \ | ||
--state-store hummock+minio://hummockadmin:[email protected]:9301/hummock001 \ | ||
--data-directory hummock_001 \ | ||
--dashboard-ui-path $RW_PREFIX/ui" \ | ||
--compute-opts=" \ | ||
--listen-addr 127.0.0.1:5688 \ | ||
--prometheus-listener-addr 127.0.0.1:1222 \ | ||
--advertise-addr 127.0.0.1:5688 \ | ||
--async-stack-trace verbose \ | ||
--connector-rpc-endpoint 127.0.0.1:50051 \ | ||
--parallelism 4 \ | ||
--total-memory-bytes 8589934592 \ | ||
--role both \ | ||
--meta-address http://127.0.0.1:5690" \ | ||
--frontend-opts=" \ | ||
--listen-addr 127.0.0.1:4566 \ | ||
--advertise-addr 127.0.0.1:4566 \ | ||
--prometheus-listener-addr 127.0.0.1:2222 \ | ||
--health-check-listener-addr 127.0.0.1:6786 \ | ||
--meta-addr http://127.0.0.1:5690" >"$1" 2>&1 | ||
} | ||
|
||
# You can fill up this section by consulting | ||
# .risingwave/log/risedev.log, after calling `./risedev d full`. | ||
# It is expected that `minio`, `etcd` will be started after this is called. | ||
# .risingwave/log/risedev.log, after calling ./risedev d full. | ||
# It is expected that minio, etcd will be started after this is called. | ||
start_standalone() { | ||
RUST_BACKTRACE=1 \ | ||
"$PREFIX_BIN"/risingwave/standalone \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters