File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -300,6 +300,25 @@ command.
300300 FROM iceberg_demo_db.iceberg_demo_table;
301301 </pre >
302302
303+ ## Clean Up
304+
305+ 1 . Stop the glue job by replacing the job name in below command.
306+
307+ <pre >
308+ (.venv) $ JOB_RUN_IDS=$(aws glue get-job-runs \
309+ --job-name streaming_data_from_kds_into_iceberg_table | jq -r '.JobRuns[] | select(.JobRunState=="RUNNING") | .Id' \
310+ | xargs)
311+ (.venv) $ aws glue batch-stop-job-run \
312+ --job-name streaming_data_from_kds_into_iceberg_table \
313+ --job-run-ids $JOB_RUN_IDS
314+ </pre >
315+
316+ 2 . Delete the CloudFormation stack by running the below command.
317+
318+ <pre >
319+ (.venv) $ cdk destroy --all
320+ </pre >
321+
303322## Useful commands
304323
305324 * ` cdk ls ` list all stacks in the app
You can’t perform that action at this time.
0 commit comments