keith-turner commented on code in PR #4879:
URL: https://github.com/apache/accumulo/pull/4879#discussion_r1757483787
##########
server/monitor/src/main/java/org/apache/accumulo/monitor/util/logging/AccumuloMonitorAppender.java:
##########
@@ -122,8 +122,9 @@ public void append(final LogEvent event) {
var req =
HttpRequest.newBuilder(uri).POST(BodyPublishers.ofString(jsonEvent, UTF_8))
.setHeader("Content-Type", "application/json").build();
- @SuppressWarnings("unused")
+
var future = httpClient.sendAsync(req, BodyHandlers.discarding());
+ future.get();
Review Comment:
The only thing I can think to do with this change to get a better sense of
how it will actually behave is to do some testing.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]