examples icon indicating copy to clipboard operation
examples copied to clipboard

DEVX-2723: call confluent kafka cluster use before stack tear-down

Open javabrett opened this issue 2 years ago • 2 comments

Description

https://confluentinc.atlassian.net/browse/DEVX-2723

What behavior does this PR change, and why?

Specifies --cluster ID when running confluent kafka acl delete during tear-down, to prevent attempt to delete ACL from the context cluster, should a cluster different from the demo cluster be selected when stop-cloud.sh is run.

Author Validation

Describe the validation already done, or needs to be done, by the PR submitter.

  • [X] ccloud/ccloud-stack

Reviewer Tasks

Describe the tasks/validation that the PR submitter is requesting to be done by the reviewer.

javabrett avatar Feb 27 '22 22:02 javabrett

Per Slack, instead of doing this PR, the fix could be to use the Kafka cluster ID identified

ybyzek avatar Feb 28 '22 12:02 ybyzek

Added two commits to:

  • Address DEVX-2724 also, by adding --cluster to confluent connect delete calls during tear-down
  • Added call to confluent kafka cluster use prior to teardown: good hygiene to ensure the correct cluster is selected prior to tear-down.

javabrett avatar Feb 28 '22 21:02 javabrett