-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Groovy container w/ examples and Redpanda (#4673)
* Groovy container w/ redpanda and examples. Also README. * Updates from Devin's review - remove apicurio from docker-compose files and change docker-compose to docker compose in shell commands * Updates from Devin's review * Make consistent with Redpanda
- Loading branch information
Showing
24 changed files
with
204 additions
and
178 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Overview | ||
|
||
A Docker Compose deployment for [Deephaven](https://deephaven.io). | ||
|
||
## Features | ||
|
||
- [Deephaven](https://deephaven.io) | ||
- [Groovy](https://groovy-lang.org/) scripting | ||
- [Deephaven Examples](https://github.com/deephaven/examples) | ||
- [Redpanda](https://vectorized.io/), a Kakfa-compatible event streaming platform. | ||
|
||
## Launch Deephaven | ||
|
||
For instructions on launching and using Kafka in Deephaven, see[How to connect to a Kafka stream](https://deephaven.io/core/groovy/docs/how-to-guides/data-import-export/kafka-stream/). For instructions on getting started with Deephaven, see the [Quickstart](https://deephaven.io/core/groovy/docs/tutorials/quickstart). | ||
|
||
To launch Deephaven, execute the following in your deployment directory: | ||
|
||
```bash | ||
curl -O https://raw.githubusercontent.com/deephaven/deephaven-core/main/containers/groovy-examples-redpanda/docker-compose.yml | ||
docker compose pull | ||
docker compose up -d | ||
``` |
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,34 @@ | ||
version: "3.4" | ||
|
||
services: | ||
deephaven: | ||
image: ghcr.io/deephaven/server-slim:${VERSION:-latest} | ||
ports: | ||
- "${DEEPHAVEN_PORT:-10000}:10000" | ||
volumes: | ||
- ./data:/data | ||
environment: | ||
- START_OPTS=-Xmx4g | ||
|
||
examples: | ||
image: ghcr.io/deephaven/examples | ||
volumes: | ||
- ./data:/data | ||
command: initialize | ||
|
||
redpanda: | ||
command: | ||
- redpanda | ||
- start | ||
- --kafka-addr internal://0.0.0.0:9092,external://0.0.0.0:19092 | ||
- --advertise-kafka-addr internal://redpanda:9092,external://localhost:19092 | ||
- --schema-registry-addr internal://0.0.0.0:8081,external://0.0.0.0:18081 | ||
- --smp 1 | ||
- --memory 1G | ||
- --mode dev-container | ||
image: docker.redpanda.com/redpandadata/redpanda:v23.2.18 | ||
ports: | ||
- 8081:8081 | ||
- 18081:18081 | ||
- 9092:9092 | ||
- 19092:19092 |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Overview | ||
|
||
## Features | ||
|
||
- [Deephaven](https://deephaven.io) | ||
- [Groovy](https://groovy-lang.org/) scripting | ||
- [Redpanda](https://vectorized.io/), a Kafka-compatible event streaming platform | ||
|
||
## Launch Deephaven | ||
|
||
For instructions on launching and using Kafka in Deephaven, see[How to connect to a Kafka stream](https://deephaven.io/core/groovy/docs/how-to-guides/data-import-export/kafka-stream/). For instructions on getting started with Deephaven, see the [Quickstart](https://deephaven.io/core/groovy/docs/tutorials/quickstart). | ||
|
||
To launch Deephaven, execute the following in your deployment directory: | ||
|
||
```sh | ||
curl -O https://raw.githubusercontent.com/deephaven/deephaven-core/main/containers/groovy-redpanda/docker-compose.yml | ||
docker compose pull | ||
docker compose up -d | ||
``` |
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,28 @@ | ||
version: "3.4" | ||
|
||
services: | ||
deephaven: | ||
image: ghcr.io/deephaven/server-slim:${VERSION:-latest} | ||
ports: | ||
- "${DEEPHAVEN_PORT:-10000}:10000" | ||
volumes: | ||
- ./data:/data | ||
environment: | ||
- START_OPTS=-Xmx4g | ||
|
||
redpanda: | ||
command: | ||
- redpanda | ||
- start | ||
- --kafka-addr internal://0.0.0.0:9092,external://0.0.0.0:19092 | ||
- --advertise-kafka-addr internal://redpanda:9092,external://localhost:19092 | ||
- --schema-registry-addr internal://0.0.0.0:8081,external://0.0.0.0:18081 | ||
- --smp 1 | ||
- --memory 1G | ||
- --mode dev-container | ||
image: docker.redpanda.com/redpandadata/redpanda:v23.2.18 | ||
ports: | ||
- 8081:8081 | ||
- 18081:18081 | ||
- 9092:9092 | ||
- 19092:19092 |
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 was deleted.
Oops, something went wrong.
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
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
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,21 @@ | ||
# Overview | ||
|
||
A Docker Compose deployment for [Deephaven](https://deephaven.io). | ||
|
||
## Features | ||
|
||
- [Deephaven](https://deephaven.io) | ||
- [Python](https://python.org) scripting | ||
- [Redpanda](https://vectorized.io/), a Kafka-compatible event streaming platform | ||
|
||
## Launch Deephaven | ||
|
||
For instructions on launching and using Kafka, see [How to connect to a Kafka stream](https://deephaven.io/core/docs/how-to-guides/data-import-export/kafka-stream/). For instructions on getting started with Deephaven, see the [Quickstart](https://deephaven.io/core/docs/tutorials/quickstart). | ||
|
||
To launch Deephaven, execute the following in your deployment directory: | ||
|
||
```sh | ||
curl -O https://raw.githubusercontent.com/deephaven/deephaven-core/main/containers/python-redpanda/docker-compose.yml | ||
docker compose pull | ||
docker compose up -d | ||
``` |
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,28 @@ | ||
version: "3.4" | ||
|
||
services: | ||
deephaven: | ||
image: ghcr.io/deephaven/server:${VERSION:-latest} | ||
ports: | ||
- "${DEEPHAVEN_PORT:-10000}:10000" | ||
volumes: | ||
- ./data:/data | ||
environment: | ||
- START_OPTS=-Xmx4g | ||
|
||
redpanda: | ||
command: | ||
- redpanda | ||
- start | ||
- --kafka-addr internal://0.0.0.0:9092,external://0.0.0.0:19092 | ||
- --advertise-kafka-addr internal://redpanda:9092,external://localhost:19092 | ||
- --schema-registry-addr internal://0.0.0.0:8081,external://0.0.0.0:18081 | ||
- --smp 1 | ||
- --memory 1G | ||
- --mode dev-container | ||
image: docker.redpanda.com/redpandadata/redpanda:v23.2.18 | ||
ports: | ||
- 8081:8081 | ||
- 18081:18081 | ||
- 9092:9092 | ||
- 19092:19092 |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.