From 60d9db216bcd7792b85abd21d880b9303dde4848 Mon Sep 17 00:00:00 2001 From: Jork Zijlstra Date: Fri, 28 Jan 2022 16:39:06 +0100 Subject: [PATCH] skip topic when a TopicAuthorizationException occurs --- src/main/java/kafdrop/service/KafkaHighLevelAdminClient.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/kafdrop/service/KafkaHighLevelAdminClient.java b/src/main/java/kafdrop/service/KafkaHighLevelAdminClient.java index 26508ae7..ee1cf853 100644 --- a/src/main/java/kafdrop/service/KafkaHighLevelAdminClient.java +++ b/src/main/java/kafdrop/service/KafkaHighLevelAdminClient.java @@ -110,6 +110,7 @@ Map describeTopicConfigs(Set topicNames) { return Map.of(); } else if (e.getCause() instanceof TopicAuthorizationException) { printAcls(); + return Map.of(); } throw new KafkaAdminClientException(e); }