Commit ca35c22
committed
fix: initialize AWS provider in sync mode for MSK IAM
- Switch provider to sync mode before initialization to prevent hanging
- Initialize provider with sync mode (required before event loop is available)
- Switch back to async mode after successful initialization
- Follows pattern used by other AWS credential providers
This fixes potential credential initialization failures in IRSA/EKS deployments
where HTTP requests during init would hang without the event loop.
Signed-off-by: Arbin <[email protected]>1 parent 1f9b74a commit ca35c22
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
779 | 779 | | |
780 | 780 | | |
781 | 781 | | |
782 | | - | |
| 782 | + | |
| 783 | + | |
783 | 784 | | |
784 | 785 | | |
785 | 786 | | |
| |||
789 | 790 | | |
790 | 791 | | |
791 | 792 | | |
| 793 | + | |
| 794 | + | |
792 | 795 | | |
793 | 796 | | |
794 | 797 | | |
| |||
0 commit comments