Skip to content

Conversation

@sekkaahmed
Copy link

  • Add graceful fallback when requestMetadata() method is not available
  • Catch NoSuchMethodError and log debug message instead of crashing
  • Support both ConverseRequest and ConverseStreamRequest builders
  • Add documentation about AWS SDK version requirements (2.32.x+)

Fixes #5063

Thank you for taking time to contribute this pull request!
You might have already read the contributor guide, but as a reminder, please make sure to:

  • Add a Signed-off-by line to each commit (git commit -s) per the DCO
  • Rebase your changes on the latest main branch and squash your commits
  • Add/Update unit tests as needed
  • Run a build and make sure all tests pass prior to submission

For more details, please check the contributor guide.
Thank you upfront!

- Add graceful fallback when requestMetadata() method is not available
- Catch NoSuchMethodError and log debug message instead of crashing
- Support both ConverseRequest and ConverseStreamRequest builders
- Add documentation about AWS SDK version requirements (2.32.x+)

Fixes spring-projects#5063

Signed-off-by: asekka <[email protected]>
@sekkaahmed sekkaahmed force-pushed the fix/5063-requestMetadata-compatibility branch from 0db9813 to a97d1a7 Compare December 9, 2025 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Version 1.1.1 has problem on Bedrock Converse API: NoSuchMethodError for ConverseRequest$Builder.requestMetadata(java.util.Map)

1 participant