Skip to content

Commit

Permalink
Removed json to array conversion
Browse files Browse the repository at this point in the history
Signed-off-by: Krishna Kondaka <[email protected]>
  • Loading branch information
Krishna Kondaka committed Mar 12, 2024
1 parent f599531 commit 34c1eec
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ private HttpResponse processRequest(final AggregatedHttpRequest aggregatedHttpRe
try {
if (buffer.isByteBuffer()) {
for (final String json: jsonList) {
final String jsonArray = "["+json+"]";
buffer.writeBytes(jsonArray.getBytes(), null, bufferWriteTimeoutInMillis);
buffer.writeBytes(json.getBytes(), null, bufferWriteTimeoutInMillis);
}
} else {
final List<Record<Log>> records = jsonList.stream()
Expand Down

0 comments on commit 34c1eec

Please sign in to comment.