We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8120df commit 82042f9Copy full SHA for 82042f9
api/src/main/java/io/kafbat/ui/service/ReactiveAdminClient.java
@@ -163,9 +163,9 @@ private static Mono<ConfigRelatedInfo> extract(AdminClient ac) {
163
boolean topicDeletionEnabled = true;
164
for (ConfigEntry entry : configs) {
165
if (entry.name().contains("inter.broker.protocol.version")) {
166
- version = Optional.of(entry.value());
+ version = Optional.ofNullable(entry.value());
167
}
168
- if (entry.name().equals("delete.topic.enable")) {
+ if (entry.name().equals("delete.topic.enable") && entry.value() != null) {
169
topicDeletionEnabled = Boolean.parseBoolean(entry.value());
170
171
0 commit comments