The GitHub Actions job "Java CI with Maven" on 
stormcrawler.git/fix-opensearch-connection-resource-leak has succeeded.
Run started by GitHub user jnioche (triggered by jnioche).

Head commit for run:
1661088b48a2bc4421b8f543371bc251d2c70510 / Julien Nioche 
<[email protected]>
Fix client leak on BulkProcessor or Sniffer construction failure

In getConnection(), if BulkProcessor.builder().build() or
Sniffer.builder().build() throws, the already-created RestHighLevelClient
(and its connection pool/threads) is leaked. Similarly, if Sniffer
construction fails, the BulkProcessor is also leaked.

Wrap construction in try-catch to close already-created resources on failure.

Co-Authored-By: Claude Opus 4.6 <[email protected]>

Report URL: https://github.com/apache/stormcrawler/actions/runs/23914021832

With regards,
GitHub Actions via GitBox

Reply via email to