Skip to content

Commit

Permalink
swap close order
Browse files Browse the repository at this point in the history
  • Loading branch information
mas-chen committed Nov 18, 2023
1 parent e82c21b commit 8dc9cf3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,8 @@ private void startAllEnumerators() {
kafkaClusterId,
e);
try {
clusterEnumeratorMap.remove(kafkaClusterId).close();
clusterEnumContextMap.remove(kafkaClusterId).close();
clusterEnumeratorMap.remove(kafkaClusterId).close();
} catch (Exception ex) {
// closing enumerator throws an exception, let error propagate and restart
// the job
Expand Down

0 comments on commit 8dc9cf3

Please sign in to comment.