Skip to content

Commit

Permalink
Merge pull request #9 from NationalSecurityAgency/task/replace-deprec…
Browse files Browse the repository at this point in the history
…ated-getconnectionmanager

Replace deprecated ClientConnectionManager
  • Loading branch information
ivakegg authored Oct 2, 2024
2 parents cd2fab0 + 23ca391 commit 78b4f3e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/java/datawave/metrics/NSQMetricsReporter.java
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,11 @@ public void stop() {
try {
super.stop();
} finally {
client.getConnectionManager().shutdown();
try {
client.close();
} catch (IOException e) {
throw new RuntimeException(e);
}
}
}
}

0 comments on commit 78b4f3e

Please sign in to comment.