Kafka: 7. Check that nothing is left
This documentation is part of the GitHub Actions & GitLab CI guide. View the full guide here: Spin up a real Kafka service from your GitHub Actions or GitLab CI pipeline, run your tests against it, and tear it down automatically.
👋 Welcome to the Stackhero documentation!
Stackhero gives you a fully managed Kafka cloud environment, ready in minutes. Here is what you can expect:
- No limits on message size or transfer: scale your data without worrying about caps.
- Simple, one-click updates keep your platform current without downtime or manual work.
- Consistent high performance and robust security on your own private, dedicated infrastructure.
If you want to move faster and reduce operational overhead, Stackhero provides Kafka cloud hosting to help you. You can have a production-ready cluster in about 5 minutes.
A runner that is killed abruptly (a lost machine, for example) cannot run its cleanup. To see the services left in your CI stack, run:
stackhero services-list --stack="CI"
Between two runs, this list is empty. You can delete a 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 done. For more information about available commands and non-interactive STACKHERO_TOKEN authentication, you may want to explore the full CLI documentation.