Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public BacklogQuota getBacklogQuota(String namespace, String policyPath) {
.map(p -> p.backlog_quota_map.getOrDefault(BacklogQuotaType.destination_storage, defaultQuota))
.orElse(defaultQuota);
} catch (Exception e) {
log.error("Failed to read policies data, will apply the default backlog quota: namespace={}", namespace, e);
log.warn("Failed to read policies data, will apply the default backlog quota: namespace={}", namespace, e);
return this.defaultQuota;
}
}
Expand All @@ -87,7 +87,7 @@ public BacklogQuota getBacklogQuota(TopicName topicName) {
.map(map -> map.get(BacklogQuotaType.destination_storage.name()))
.orElseGet(() -> getBacklogQuota(topicName.getNamespace(),policyPath));
} catch (Exception e) {
log.error("Failed to read policies data, will apply the default backlog quota: topicName={}", topicName, e);
log.warn("Failed to read topic policies data, will apply the namespace backlog quota: topicName={}", topicName, e);
}
return getBacklogQuota(topicName.getNamespace(),policyPath);
}
Expand Down