This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add `kafka` template. * Update stack version * update stack version Co-authored-by: Kamran Shamsi <[email protected]>
- Loading branch information
1 parent
96bd1f7
commit cd5fe3c
Showing
13 changed files
with
822 additions
and
3 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
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,47 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Appsody: run", | ||
"type": "shell", | ||
"command": "appsody run", | ||
"group": "build", | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"label": "Appsody: debug", | ||
"type": "shell", | ||
"command": "appsody debug", | ||
"group": "build", | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"label": "Appsody: test", | ||
"type": "shell", | ||
"command": "appsody test", | ||
"group": "test", | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"label": "Appsody: build", | ||
"type": "shell", | ||
"command": "appsody build", | ||
"group": "build", | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"label": "Appsody: deploy", | ||
"type": "shell", | ||
"command": "appsody deploy", | ||
"group": "build", | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"label": "Appsody: stop", | ||
"type": "shell", | ||
"command": "appsody stop", | ||
"group": "build", | ||
"problemMatcher": [] | ||
} | ||
] | ||
} |
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,30 @@ | ||
version: '2' | ||
|
||
services: | ||
|
||
zookeeper: | ||
image: strimzi/kafka:0.15.0-kafka-2.3.1 | ||
command: [ | ||
"sh", "-c", | ||
"bin/zookeeper-server-start.sh config/zookeeper.properties" | ||
] | ||
ports: | ||
- "2181:2181" | ||
environment: | ||
LOG_DIR: /tmp/logs | ||
|
||
kafka: | ||
image: strimzi/kafka:0.15.0-kafka-2.3.1 | ||
command: [ | ||
"sh", "-c", | ||
"bin/kafka-server-start.sh config/server.properties --override listeners=$${KAFKA_LISTENERS} --override advertised.listeners=$${KAFKA_ADVERTISED_LISTENERS} --override zookeeper.connect=$${KAFKA_ZOOKEEPER_CONNECT}" | ||
] | ||
depends_on: | ||
- zookeeper | ||
ports: | ||
- "9092:9092" | ||
environment: | ||
LOG_DIR: "/tmp/logs" | ||
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092 | ||
KAFKA_LISTENERS: PLAINTEXT://0.0.0.0:9092 | ||
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 |
Oops, something went wrong.