-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: Unable to delete some topics in MSK serverless #4291
Comments
Hello there gpad! 👋 Thank you and congratulations 🎉 for opening your very first issue in this project! 💖 In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. 👀 |
I'm having the same issue with MSK provisioned (non-serverless). My hunch is that Kafka UI automatically labels any topic starting with __ as internal and prevents you from deleting it in the UI for "safety" (you can also delete In this case though, it's necessary to delete hanging topics storing metadata about deleted MSK connectors. MSK doesn't auto delete topics for deleted connectors, and MSK requires you to make a brand new connector every time you want to apply a config changes to the connector, which means these dead topics accumulate fast. This can quickly lead to not being able to apply config changes to the entire cluster at all see here, which just happened to me. |
@adamshugar Is there a way to clean up these topics manually by specifying some connector configs? We tried using offset.storage.topic mentioned here But, issue is still the same. |
These topics can't be selected due to their names starting with an underscore, having one is considered them being internal topics in kafka. This can be adjusted by changing the Please note that this repo is not maintained (#4255), will be happy to asnwer any other questions here: https://github.com/kafbat/kafka-ui |
Issue submitter TODO list
master
-labeled docker image and the issue still persists thereDescribe the bug (actual behavior)
Some topics (automatically created by connectors) are impossible to delete because it's not possible to select them.
It's possible to delete manually via CLI:
Expected behavior
Select the connectors and delete them
Your installation details
56fa824 v0.7.1
Intalled by aws marketplace
auth:
type: "LOGIN_FORM"
spring:
security:
user:
name: name
password: password
kafka:
clusters:
name: demo-2
properties:
security.protocol: SASL_SSL
sasl.mechanism: AWS_MSK_IAM
sasl.jaas.config: software.amazon.msk.auth.iam.IAMLoginModule required;
sasl.client.callback.handler.class: software.amazon.msk.auth.iam.IAMClientCallbackHandler
readOnly: false
rrrbac:
roles: []
webclient: {}
Steps to reproduce
Create a MSK cluster
Create connector
Destroy a connector
you will find some topics like
__amazon_msk_connect
these topics are not selectableScreenshots
Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: