Skip to content

Commit

Permalink
fix(registry): defaultToGlobal query to avoid schema registry error log
Browse files Browse the repository at this point in the history
close #1098
  • Loading branch information
tchiotludo committed May 26, 2022
1 parent 676d89a commit dbef78e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public Schema.Config getConfig(String clusterId, String subject) throws IOExcept
try {
return new Schema.Config(this.kafkaModule
.getRegistryRestClient(clusterId)
.getConfig(subject)
.getConfig(Map.of(), subject, true)
);
} catch (RestClientException exception) {
if (exception.getStatus() != 404) {
Expand Down

0 comments on commit dbef78e

Please sign in to comment.