[
https://issues.apache.org/jira/browse/NIFI-14307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17932844#comment-17932844
]
ASF subversion and git services commented on NIFI-14307:
--------------------------------------------------------
Commit 11267766157c7a48f153a7cc29fe79a21f288e59 in nifi's branch
refs/heads/main from Vijay Gorla
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=1126776615 ]
NIFI-14307 Closed Response Stream after reading in
ElasticSearchClientServiceImpl (#9758)
Signed-off-by: David Handermann <[email protected]>
> Response entity stream not closed in ElasticSearchClientServiceImpl
> --------------------------------------------------------------------
>
> Key: NIFI-14307
> URL: https://issues.apache.org/jira/browse/NIFI-14307
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 2.2.0
> Reporter: Vijaya Gorla
> Priority: Major
> Labels: elasticsearch
> Time Spent: 50m
> Remaining Estimate: 0h
>
> ElasticSearchClientServiceImpl does not close response entity InputStream
> after reading contents. There are multiple places in this class where the
> stream is not closed.
> This is leaving sockets open and causing resource exhaustion.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)