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 cf95dca commit 77785c1Copy full SHA for 77785c1
flink-cdc-runtime/src/main/java/org/apache/flink/cdc/runtime/operators/schema/common/SchemaRegistry.java
@@ -45,6 +45,7 @@
45
46
import javax.annotation.Nullable;
47
48
+import java.io.IOException;
49
import java.time.Duration;
50
import java.util.List;
51
import java.util.Map;
@@ -130,6 +131,12 @@ public void start() throws Exception {
130
131
public void close() throws Exception {
132
LOG.info("Closing SchemaRegistry - {}.", operatorName);
133
coordinatorExecutor.shutdown();
134
+ try {
135
+ metadataApplier.close();
136
+ } catch (Exception e) {
137
+ LOG.error("Failed to close metadata applier.", e);
138
+ throw new IOException("Failed to close metadata applier.", e);
139
+ }
140
}
141
142
// ------------------------------
0 commit comments