fluent-plugin-opensearch icon indicating copy to clipboard operation
fluent-plugin-opensearch copied to clipboard

Prevent AWS credentials refresh from stopping on exception

Open aYukiSekiguchi opened this issue 5 months ago • 7 comments

If aws_credentials() fails due to an unstable network or other issues, it throws an exception. This stops timer_execute() from repeating its block, preventing OpenSearchOutput from updating @_aws_credentials. As a result, @_aws_credentials will expire.

This commit catches the exception and prevents it from propagating to timer_execute(), ensuring continuous credential updates.

aYukiSekiguchi avatar Sep 02 '24 12:09 aYukiSekiguchi