forked from deephaven/deephaven-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor debezium demo towards a perf oriented version. (deephaven#1969)
* Refactoring to allow separation of demo and perf; add a command interface to loadgen. * Various fixes. * Allow command interface to be visible from the host.
- Loading branch information
1 parent
ca6609e
commit 45696eb
Showing
9 changed files
with
408 additions
and
280 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
COMPOSE_PROJECT_NAME=core-debezium | ||
COMPOSE_PROJECT_NAME=core-debezium-demo | ||
REPO=ghcr.io/ | ||
TAG=main | ||
PORT=10000 | ||
|
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
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# docker compose file to run the debezium-kafka ecommerce demo | ||
# with DHC ticking tables and dashboard | ||
|
||
version: '3.4' | ||
|
||
services: | ||
server: | ||
extends: | ||
file: ../../docker-compose-common.yml | ||
service: server | ||
|
||
web: | ||
extends: | ||
file: ../../docker-compose-common.yml | ||
service: web | ||
|
||
# Should only be used for non-production deployments, see grpc-proxy/README.md for more info | ||
grpc-proxy: | ||
extends: | ||
file: ../../docker-compose-common.yml | ||
service: grpc-proxy | ||
depends_on: | ||
server: | ||
condition: service_healthy | ||
|
||
envoy: | ||
# A reverse proxy configured for no SSL on localhost. It fronts the requests | ||
# for the static content and the websocket proxy. | ||
extends: | ||
file: ../../docker-compose-common.yml | ||
service: envoy | ||
depends_on: | ||
server: | ||
condition: service_healthy | ||
grpc-proxy: | ||
condition: service_started | ||
web: | ||
condition: service_started | ||
|
||
redpanda: | ||
extends: | ||
file: ../docker-compose-debezium-common.yml | ||
service: redpanda | ||
|
||
mysql: | ||
extends: | ||
file: ../docker-compose-debezium-common.yml | ||
service: mysql | ||
|
||
debezium: | ||
extends: | ||
file: ../docker-compose-debezium-common.yml | ||
service: debezium | ||
depends_on: | ||
redpanda: | ||
condition: service_started | ||
|
||
loadgen: | ||
build: ../loadgen | ||
environment: | ||
- PAGEVIEWS_PER_SECOND_START=750 | ||
- PURCHASES_PER_SECOND_START=10 | ||
- COMMAND_ENDPOINT=0.0.0.0:8090 | ||
depends_on: | ||
mysql: | ||
condition: service_started | ||
debezium: | ||
condition: service_started | ||
ports: | ||
- "127.0.0.1:8090:8090" |
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
4 changes: 3 additions & 1 deletion
4
debezium-demo/loadgen/Dockerfile → debezium/loadgen/Dockerfile
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
Oops, something went wrong.