Kafka: 7. Check that nothing is left behind
This documentation is part of the CI pipeline integration with GitHub Actions and GitLab CI guide. You can view the complete guide here: Launch a real Kafka service from your GitHub Actions or GitLab CI pipeline, run your tests against it, and automatically remove it afterwards.
👋 Welcome to the Stackhero documentation!
Stackhero makes it easy to set up a fully managed Kafka cloud solution. Here’s what you can expect:
- Unlimited message size and transfers to support your data growth.
- Effortless updates – apply the latest improvements with a single click.
- High-level performance and enhanced security, all powered by your own private, dedicated VM.
If you want to save time and streamline your processes, try Stackhero’s Kafka cloud hosting. You can get started in around 5 minutes!
A runner that is abruptly stopped (for example, a lost machine) cannot perform its clean-up. To see the services remaining in your CI stack, run:
stackhero services-list --stack="CI"
Between two runs, this list should be empty. You can delete any leftover service with stackhero service-delete --service=svc-xxxxxx --confirm.
That is the complete CI lifecycle for Kafka: add the service to your CI stack, wait, retrieve credentials, smoke-test, and always delete it. Each pipeline run gets a real, isolated service, and nothing is left running when you are finished. For more information about available commands and non-interactive STACKHERO_TOKEN authentication, you may wish to consult the full CLI documentation.