akhq
akhq copied to clipboard
Handle Kafka users with no configs acls (remove page not found popup)
Hi
I have AKHQ configured to connect to Amazon MSK brokers with consumer only permission. When I drill down to a topic, I get the warning notification in the screenshot bellow. I believe the issue is the account I use to connect to the MSK broker does not have access to view the topic config which AKHQ is attempting to access. I think there is already another ticket for this but I don't see a way to restrict a reader only security role in AKHQ from attempting to access the topic config when loading a topic.
The error in the browser console is the following:
configs
message: "Page Not Found"
_links: {self: {href: "/api/kafka-test/topic/example/configs", templated: false}}
self: {href: "/api/kafka-test/topic/example/configs", templated: false}
href: "/api/kafka-test/topic/example/configs"
templated: false
Hi, you are right ! We fetch topic configuration in order to display some button. We need to find a way to disable this feature and don't display topic configuration if the user don't have topic configs acls
We're experiencing this issue, too. Would appreciate a solution for this one.