Skip to content

Commit

Permalink
comment out start tasks and add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
chuck-confluent committed Nov 8, 2021
1 parent fb520aa commit f08d006
Showing 1 changed file with 22 additions and 24 deletions.
46 changes: 22 additions & 24 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,32 +14,30 @@ github:
image:
file: .gitpod.Dockerfile

tasks:
- name: start
command: confluent local services start && gp sync-done start
- name: datagen
command: |
gp sync-await start
# Uncomment to run tasks
# tasks:

# Uncomment task if you want to start services on launch
# - name: start
# command: confluent local services start && gp sync-done start

# Uncomment task if you want to create datagen connectors on launch
# - name: datagen
# command: |
# gp sync-await start

curl -i -X PUT -H "Content-Type:application/json" \
http://localhost:8083/connectors/users/config \
-d '{
"connector.class" : "io.confluent.kafka.connect.datagen.DatagenConnector",
"kafka.topic" : "stockapp.users",
"quickstart" : "Users_",
"max.interval" : "8000",
"tasks.max" : "1"
}'
# curl -i -X PUT -H "Content-Type:application/json" \
# http://localhost:8083/connectors/users/config \
# -d @connectors/connector-datagen-users.json

curl -i -X PUT -H "Content-Type:application/json" \
http://localhost:8083/connectors/trades/config \
-d '{
"connector.class" : "io.confluent.kafka.connect.datagen.DatagenConnector",
"kafka.topic" : "stockapp.trades",
"quickstart" : "Stock_Trades",
"max.interval" : "8000",
"tasks.max" : "1"
}'
# curl -i -X PUT -H "Content-Type:application/json" \
# http://localhost:8083/connectors/trades/config \
# -d @connectors/connector-datagen-trades.json

# Uncomment task if you want to log into a confluent cloud cluster.
# Must have $CONFLUENT_CLOUD_EMAIL, CONFLUENT_CLOUD_PASSWORD, and $CCLOUD_ENV_ID defined in gitpod.io/variables and scoped to this repo
# - name: ccloud
# command: confluent login --save && confluent environment use $CCLOUD_ENV_ID

ports:
# zookeeper
Expand Down

0 comments on commit f08d006

Please sign in to comment.