-
Notifications
You must be signed in to change notification settings - Fork 552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing Headers definition from byte to int8 for KafkaRecord #506
Conversation
Codecov Report
@@ Coverage Diff @@
## main #506 +/- ##
==========================================
+ Coverage 71.38% 72.63% +1.25%
==========================================
Files 22 26 +4
Lines 1307 1407 +100
==========================================
+ Hits 933 1022 +89
- Misses 306 314 +8
- Partials 68 71 +3
|
More relationships:
|
So, since this field was never functional since being added in #385, my gut reaction is that I'd be OK merging this as-is and calling it a bug fix, rather than a semver breaking change. However, aws/aws-lambda-dotnet#1476 (comment), makes me think it'd be possible to keep strict back-compatability by adding a custom Marshal/Unmarshal JSON to this struct, so that the field type may stay as @milovacb WDYT? Does it look feasible to do a bit of extra work to allow Go consumers to consume the kafka header value as |
I researched this a little bit in more detail. Official Kafka Go library does use It comes down to customer experience - should this library match the experience of Kafka Go library or should it match Lambda experience? My experience so far was that Lambda experience was more important for customers, but I don't think I have enough data for this to make that decision and this being an open source library I guess we arrive to conclusions in a different way. I think users can make an appropriate conversion by themselves if needed, but if it is a blocker I can make conversion to |
I wouldn't expect a consumer to ever interact with the "negative numbers" directly. The producer, regardless of how the particular producer chooses to pretty-print it's bytes, chose to write bytes. So the consumer should get bytes too! I think something like this would result in a more ergonomic event type
|
… as signed numbers.
OK, keeping bytes then. Test updated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/aws/aws-lambda-go](https://togithub.com/aws/aws-lambda-go) | require | minor | `v1.40.0` -> `v1.41.0` | --- ### Release Notes <details> <summary>aws/aws-lambda-go</summary> ### [`v1.41.0`](https://togithub.com/aws/aws-lambda-go/releases/tag/v1.41.0) [Compare Source](https://togithub.com/aws/aws-lambda-go/compare/v1.40.0...v1.41.0) #### What's Changed - test: add `trace_test.go` by [@​wafuwafu13](https://togithub.com/wafuwafu13) in [https://github.com/aws/aws-lambda-go/pull/497](https://togithub.com/aws/aws-lambda-go/pull/497) - Support http.Handler for RESPONSE_STREAM Lambda Function URLs by [@​bmoffatt](https://togithub.com/bmoffatt) in [https://github.com/aws/aws-lambda-go/pull/503](https://togithub.com/aws/aws-lambda-go/pull/503) - feat: add ECSContainerInstanceEvent by [@​wafuwafu13](https://togithub.com/wafuwafu13) in [https://github.com/aws/aws-lambda-go/pull/502](https://togithub.com/aws/aws-lambda-go/pull/502) - Changing Headers definition from byte to int8 for KafkaRecord by [@​milovacb](https://togithub.com/milovacb) in [https://github.com/aws/aws-lambda-go/pull/506](https://togithub.com/aws/aws-lambda-go/pull/506) #### New Contributors - [@​wafuwafu13](https://togithub.com/wafuwafu13) made their first contribution in [https://github.com/aws/aws-lambda-go/pull/497](https://togithub.com/aws/aws-lambda-go/pull/497) - [@​milovacb](https://togithub.com/milovacb) made their first contribution in [https://github.com/aws/aws-lambda-go/pull/506](https://togithub.com/aws/aws-lambda-go/pull/506) **Full Changelog**: aws/aws-lambda-go@v1.40.0...v1.41.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/markussiebert/cdk-sops-secrets).
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/aws/aws-lambda-go](https://togithub.com/aws/aws-lambda-go) | require | minor | `v1.37.0` -> `v1.41.0` | | [github.com/aws/aws-sdk-go-v2](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.18.1` -> `v1.19.0` | | [github.com/aws/aws-sdk-go-v2](https://togithub.com/aws/aws-sdk-go-v2) | indirect | minor | `v1.18.1` -> `v1.19.0` | | [github.com/aws/aws-sdk-go-v2/config](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.18.27` -> `v1.18.28` | | [github.com/aws/aws-sdk-go-v2/credentials](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.13.26` -> `v1.13.27` | | [github.com/aws/aws-sdk-go-v2/credentials](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v1.13.26` -> `v1.13.27` | | [github.com/aws/aws-sdk-go-v2/feature/ec2/imds](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v1.13.4` -> `v1.13.5` | | [github.com/aws/aws-sdk-go-v2/feature/s3/manager](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.11.71` -> `v1.11.72` | | [github.com/aws/aws-sdk-go-v2/feature/s3/manager](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v1.11.71` -> `v1.11.72` | | [github.com/aws/aws-sdk-go-v2/internal/configsources](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v1.1.34` -> `v1.1.35` | | [github.com/aws/aws-sdk-go-v2/internal/endpoints/v2](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v2.4.28` -> `v2.4.29` | | [github.com/aws/aws-sdk-go-v2/internal/ini](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v1.3.35` -> `v1.3.36` | | [github.com/aws/aws-sdk-go-v2/internal/v4a](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v1.0.26` -> `v1.0.27` | | [github.com/aws/aws-sdk-go-v2/service/accessanalyzer](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.19.14` -> `v1.19.15` | | [github.com/aws/aws-sdk-go-v2/service/account](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.10.8` -> `v1.10.9` | | [github.com/aws/aws-sdk-go-v2/service/acm](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.17.13` -> `v1.17.14` | | [github.com/aws/aws-sdk-go-v2/service/acmpca](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.21.15` -> `v1.21.16` | | [github.com/aws/aws-sdk-go-v2/service/amp](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.16.13` -> `v1.16.14` | | [github.com/aws/aws-sdk-go-v2/service/amplify](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.13.12` -> `v1.13.13` | | [github.com/aws/aws-sdk-go-v2/service/apigateway](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.16.13` -> `v1.16.14` | | [github.com/aws/aws-sdk-go-v2/service/apigatewayv2](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.13.13` -> `v1.13.14` | | [github.com/aws/aws-sdk-go-v2/service/applicationautoscaling](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.21.2` -> `v1.21.3` | | [github.com/aws/aws-sdk-go-v2/service/apprunner](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.17.11` -> `v1.17.12` | | [github.com/aws/aws-sdk-go-v2/service/appstream](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.20.13` -> `v1.21.1` | | [github.com/aws/aws-sdk-go-v2/service/appsync](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.21.2` -> `v1.21.3` | | [github.com/aws/aws-sdk-go-v2/service/athena](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.22.4` -> `v1.30.4` | | [github.com/aws/aws-sdk-go-v2/service/athena](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.30.2` -> `v1.30.4` | | [github.com/aws/aws-sdk-go-v2/service/autoscaling](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.28.9` -> `v1.28.10` | | [github.com/aws/aws-sdk-go-v2/service/autoscalingplans](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.13.12` -> `v1.13.13` | | [github.com/aws/aws-sdk-go-v2/service/backup](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.22.2` -> `v1.22.3` | | [github.com/aws/aws-sdk-go-v2/service/batch](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.23.8` -> `v1.24.1` | | [github.com/aws/aws-sdk-go-v2/service/cloudformation](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.30.0` -> `v1.30.1` | | [github.com/aws/aws-sdk-go-v2/service/cloudfront](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.26.8` -> `v1.26.9` | | [github.com/aws/aws-sdk-go-v2/service/cloudhsmv2](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.14.12` -> `v1.14.13` | | [github.com/aws/aws-sdk-go-v2/service/cloudtrail](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.27.1` -> `v1.27.2` | | [github.com/aws/aws-sdk-go-v2/service/cloudwatch](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.26.2` -> `v1.26.3` | | [github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.21.2` -> `v1.22.1` | | [github.com/aws/aws-sdk-go-v2/service/codeartifact](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.18.6` -> `v1.18.7` | | [github.com/aws/aws-sdk-go-v2/service/codebuild](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.20.15` -> `v1.20.16` | | [github.com/aws/aws-sdk-go-v2/service/codecommit](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.14.14` -> `v1.14.15` | | [github.com/aws/aws-sdk-go-v2/service/codepipeline](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.15.2` -> `v1.15.3` | | [github.com/aws/aws-sdk-go-v2/service/cognitoidentity](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.15.13` -> `v1.15.14` | | [github.com/aws/aws-sdk-go-v2/service/cognitoidentityprovider](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.22.12` -> `v1.23.0` | | [github.com/aws/aws-sdk-go-v2/service/computeoptimizer](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.24.2` -> `v1.24.3` | | [github.com/aws/aws-sdk-go-v2/service/configservice](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.34.0` -> `v1.34.1` | | [github.com/aws/aws-sdk-go-v2/service/costexplorer](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.25.12` -> `v1.25.13` | | [github.com/aws/aws-sdk-go-v2/service/databasemigrationservice](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.25.7` -> `v1.27.0` | | [github.com/aws/aws-sdk-go-v2/service/dax](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.12.12` -> `v1.12.13` | | [github.com/aws/aws-sdk-go-v2/service/detective](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.19.2` -> `v1.19.3` | | [github.com/aws/aws-sdk-go-v2/service/directconnect](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.18.17` -> `v1.18.18` | | [github.com/aws/aws-sdk-go-v2/service/docdb](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.21.5` -> `v1.21.6` | | [github.com/aws/aws-sdk-go-v2/service/dynamodb](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.19.11` -> `v1.20.1` | | [github.com/aws/aws-sdk-go-v2/service/dynamodbstreams](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.14.14` -> `v1.14.15` | | [github.com/aws/aws-sdk-go-v2/service/ec2](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.102.0` -> `v1.104.0` | | [github.com/aws/aws-sdk-go-v2/service/ecr](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.18.13` -> `v1.18.14` | | [github.com/aws/aws-sdk-go-v2/service/ecrpublic](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.16.4` -> `v1.16.5` | | [github.com/aws/aws-sdk-go-v2/service/ecs](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.27.4` -> `v1.28.1` | | [github.com/aws/aws-sdk-go-v2/service/efs](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.20.3` -> `v1.20.4` | | [github.com/aws/aws-sdk-go-v2/service/eks](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.27.14` -> `v1.27.15` | | [github.com/aws/aws-sdk-go-v2/service/elasticache](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.27.2` -> `v1.27.3` | | [github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.15.12` -> `v1.15.13` | | [github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.15.12` -> `v1.15.13` | | [github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.19.13` -> `v1.19.14` | | [github.com/aws/aws-sdk-go-v2/service/elasticsearchservice](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.19.2` -> `v1.19.3` | | [github.com/aws/aws-sdk-go-v2/service/elastictranscoder](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.14.12` -> `v1.14.13` | | [github.com/aws/aws-sdk-go-v2/service/emr](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.27.0` -> `v1.27.1` | | [github.com/aws/aws-sdk-go-v2/service/eventbridge](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.19.4` -> `v1.19.5` | | [github.com/aws/aws-sdk-go-v2/service/firehose](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.16.14` -> `v1.16.15` | | [github.com/aws/aws-sdk-go-v2/service/frauddetector](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.25.2` -> `v1.25.3` | | [github.com/aws/aws-sdk-go-v2/service/fsx](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.29.3` -> `v1.30.0` | | [github.com/aws/aws-sdk-go-v2/service/glacier](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.14.13` -> `v1.14.14` | | [github.com/aws/aws-sdk-go-v2/service/glue](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.52.0` -> `v1.54.1` | | [github.com/aws/aws-sdk-go-v2/service/guardduty](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.24.0` -> `v1.24.1` | | [github.com/aws/aws-sdk-go-v2/service/iam](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.21.0` -> `v1.21.1` | | [github.com/aws/aws-sdk-go-v2/service/identitystore](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.16.13` -> `v1.16.14` | | [github.com/aws/aws-sdk-go-v2/service/inspector](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.13.12` -> `v1.13.13` | | [github.com/aws/aws-sdk-go-v2/service/inspector2](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.15.0` -> `v1.15.1` | | [github.com/aws/aws-sdk-go-v2/service/internal/checksum](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v1.1.29` -> `v1.1.30` | | [github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v1.7.28` -> `v1.7.29` | | [github.com/aws/aws-sdk-go-v2/service/internal/presigned-url](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v1.9.28` -> `v1.9.29` | | [github.com/aws/aws-sdk-go-v2/service/internal/s3shared](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v1.14.3` -> `v1.14.4` | | [github.com/aws/aws-sdk-go-v2/service/internal/s3shared](https://togithub.com/aws/aws-sdk-go-v2) | indirect | minor | `v1.13.23` -> `v1.14.4` | | [github.com/aws/aws-sdk-go-v2/service/iot](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.38.2` -> `v1.38.3` | | [github.com/aws/aws-sdk-go-v2/service/kafka](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.20.5` -> `v1.20.6` | | [github.com/aws/aws-sdk-go-v2/service/kinesis](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.17.14` -> `v1.17.15` | | [github.com/aws/aws-sdk-go-v2/service/kms](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.22.2` -> `v1.23.1` | | [github.com/aws/aws-sdk-go-v2/service/lambda](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.36.0` -> `v1.37.1` | | [github.com/aws/aws-sdk-go-v2/service/lightsail](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.27.1` -> `v1.27.2` | | [github.com/aws/aws-sdk-go-v2/service/mq](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.15.0` -> `v1.15.1` | | [github.com/aws/aws-sdk-go-v2/service/mwaa](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.16.2` -> `v1.16.3` | | [github.com/aws/aws-sdk-go-v2/service/neptune](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.20.7` -> `v1.20.8` | | [github.com/aws/aws-sdk-go-v2/service/networkfirewall](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.28.3` -> `v1.28.4` | | [github.com/aws/aws-sdk-go-v2/service/networkmanager](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.17.14` -> `v1.17.15` | | [github.com/aws/aws-sdk-go-v2/service/organizations](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.19.8` -> `v1.19.9` | | [github.com/aws/aws-sdk-go-v2/service/qldb](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.15.13` -> `v1.15.14` | | [github.com/aws/aws-sdk-go-v2/service/quicksight](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.37.2` -> `v1.38.1` | | [github.com/aws/aws-sdk-go-v2/service/ram](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.18.4` -> `v1.18.5` | | [github.com/aws/aws-sdk-go-v2/service/rds](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.45.3` -> `v1.46.2` | | [github.com/aws/aws-sdk-go-v2/service/redshift](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.28.0` -> `v1.28.1` | | [github.com/aws/aws-sdk-go-v2/service/resiliencehub](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.11.3` -> `v1.11.4` | | [github.com/aws/aws-sdk-go-v2/service/resourcegroups](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.14.13` -> `v1.14.14` | | [github.com/aws/aws-sdk-go-v2/service/route53](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.28.3` -> `v1.28.4` | | [github.com/aws/aws-sdk-go-v2/service/route53domains](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.15.0` -> `v1.15.1` | | [github.com/aws/aws-sdk-go-v2/service/route53resolver](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.17.13` -> `v1.17.14` | | [github.com/aws/aws-sdk-go-v2/service/s3](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.36.0` -> `v1.37.0` | | [github.com/aws/aws-sdk-go-v2/service/s3](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.30.0` -> `v1.37.0` | | [github.com/aws/aws-sdk-go-v2/service/s3](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.35.0` -> `v1.37.0` | | [github.com/aws/aws-sdk-go-v2/service/s3](https://togithub.com/aws/aws-sdk-go-v2) | indirect | minor | `v1.36.0` -> `v1.37.0` | | [github.com/aws/aws-sdk-go-v2/service/s3control](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.31.7` -> `v1.31.8` | | [github.com/aws/aws-sdk-go-v2/service/sagemaker](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.86.0` -> `v1.92.0` | | [github.com/aws/aws-sdk-go-v2/service/savingsplans](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.12.12` -> `v1.12.13` | | [github.com/aws/aws-sdk-go-v2/service/scheduler](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.1.13` -> `v1.1.14` | | [github.com/aws/aws-sdk-go-v2/service/secretsmanager](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.19.10` -> `v1.19.11` | | [github.com/aws/aws-sdk-go-v2/service/securityhub](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.33.2` -> `v1.33.3` | | [github.com/aws/aws-sdk-go-v2/service/servicecatalog](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.19.2` -> `v1.19.3` | | [github.com/aws/aws-sdk-go-v2/service/servicecatalogappregistry](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.17.6` -> `v1.17.7` | | [github.com/aws/aws-sdk-go-v2/service/servicediscovery](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.21.7` -> `v1.21.8` | | [github.com/aws/aws-sdk-go-v2/service/servicequotas](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.14.14` -> `v1.14.15` | | [github.com/aws/aws-sdk-go-v2/service/ses](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.15.11` -> `v1.15.12` | | [github.com/aws/aws-sdk-go-v2/service/sesv2](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.18.2` -> `v1.18.3` | | [github.com/aws/aws-sdk-go-v2/service/sfn](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.18.0` -> `v1.18.1` | | [github.com/aws/aws-sdk-go-v2/service/shield](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.18.12` -> `v1.18.13` | | [github.com/aws/aws-sdk-go-v2/service/signer](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.15.2` -> `v1.15.3` | | [github.com/aws/aws-sdk-go-v2/service/sns](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.20.13` -> `v1.20.14` | | [github.com/aws/aws-sdk-go-v2/service/sqs](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.23.2` -> `v1.23.3` | | [github.com/aws/aws-sdk-go-v2/service/ssm](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.36.6` -> `v1.36.8` | | [github.com/aws/aws-sdk-go-v2/service/sso](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v1.12.12` -> `v1.12.13` | | [github.com/aws/aws-sdk-go-v2/service/ssoadmin](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.16.12` -> `v1.16.13` | | [github.com/aws/aws-sdk-go-v2/service/ssooidc](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v1.14.12` -> `v1.14.13` | | [github.com/aws/aws-sdk-go-v2/service/sts](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.19.2` -> `v1.19.3` | | [github.com/aws/aws-sdk-go-v2/service/sts](https://togithub.com/aws/aws-sdk-go-v2) | indirect | patch | `v1.19.2` -> `v1.19.3` | | [github.com/aws/aws-sdk-go-v2/service/support](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.15.2` -> `v1.15.3` | | [github.com/aws/aws-sdk-go-v2/service/timestreamwrite](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.17.2` -> `v1.17.3` | | [github.com/aws/aws-sdk-go-v2/service/transfer](https://togithub.com/aws/aws-sdk-go-v2) | require | minor | `v1.30.0` -> `v1.31.1` | | [github.com/aws/aws-sdk-go-v2/service/waf](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.12.12` -> `v1.12.13` | | [github.com/aws/aws-sdk-go-v2/service/wafregional](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.13.15` -> `v1.13.16` | | [github.com/aws/aws-sdk-go-v2/service/wafv2](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.35.1` -> `v1.35.2` | | [github.com/aws/aws-sdk-go-v2/service/wellarchitected](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.21.1` -> `v1.21.2` | | [github.com/aws/aws-sdk-go-v2/service/workspaces](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.28.15` -> `v1.28.16` | | [github.com/aws/aws-sdk-go-v2/service/xray](https://togithub.com/aws/aws-sdk-go-v2) | require | patch | `v1.16.13` -> `v1.16.14` | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>aws/aws-lambda-go (github.com/aws/aws-lambda-go)</summary> ### [`v1.41.0`](https://togithub.com/aws/aws-lambda-go/releases/tag/v1.41.0) [Compare Source](https://togithub.com/aws/aws-lambda-go/compare/v1.40.0...v1.41.0) #### What's Changed - test: add `trace_test.go` by [@​wafuwafu13](https://togithub.com/wafuwafu13) in [https://github.com/aws/aws-lambda-go/pull/497](https://togithub.com/aws/aws-lambda-go/pull/497) - Support http.Handler for RESPONSE_STREAM Lambda Function URLs by [@​bmoffatt](https://togithub.com/bmoffatt) in [https://github.com/aws/aws-lambda-go/pull/503](https://togithub.com/aws/aws-lambda-go/pull/503) - feat: add ECSContainerInstanceEvent by [@​wafuwafu13](https://togithub.com/wafuwafu13) in [https://github.com/aws/aws-lambda-go/pull/502](https://togithub.com/aws/aws-lambda-go/pull/502) - Changing Headers definition from byte to int8 for KafkaRecord by [@​milovacb](https://togithub.com/milovacb) in [https://github.com/aws/aws-lambda-go/pull/506](https://togithub.com/aws/aws-lambda-go/pull/506) #### New Contributors - [@​wafuwafu13](https://togithub.com/wafuwafu13) made their first contribution in [https://github.com/aws/aws-lambda-go/pull/497](https://togithub.com/aws/aws-lambda-go/pull/497) - [@​milovacb](https://togithub.com/milovacb) made their first contribution in [https://github.com/aws/aws-lambda-go/pull/506](https://togithub.com/aws/aws-lambda-go/pull/506) **Full Changelog**: aws/aws-lambda-go@v1.40.0...v1.41.0 ### [`v1.40.0`](https://togithub.com/aws/aws-lambda-go/releases/tag/v1.40.0) [Compare Source](https://togithub.com/aws/aws-lambda-go/compare/v1.39.1...v1.40.0) #### What's Changed - Added ECRImageActionEvent and test by [@​nickryand](https://togithub.com/nickryand) in [https://github.com/aws/aws-lambda-go/pull/481](https://togithub.com/aws/aws-lambda-go/pull/481) - Report to the RuntimeAPI any errors that occur when reading from a handler's returned reader by [@​bmoffatt](https://togithub.com/bmoffatt) in [https://github.com/aws/aws-lambda-go/pull/495](https://togithub.com/aws/aws-lambda-go/pull/495) - Add response type for Lambda Function URL Streaming Responses by [@​bmoffatt](https://togithub.com/bmoffatt) in [https://github.com/aws/aws-lambda-go/pull/494](https://togithub.com/aws/aws-lambda-go/pull/494) - Add a note about lambda.norpc to the godoc of LambdaFunctionURLStreamingResponse by [@​bmoffatt](https://togithub.com/bmoffatt) in [https://github.com/aws/aws-lambda-go/pull/501](https://togithub.com/aws/aws-lambda-go/pull/501) #### New Contributors - [@​nickryand](https://togithub.com/nickryand) made their first contribution in [https://github.com/aws/aws-lambda-go/pull/481](https://togithub.com/aws/aws-lambda-go/pull/481) **Full Changelog**: aws/aws-lambda-go@v1.39.1...v1.40.0 ### [`v1.39.1`](https://togithub.com/aws/aws-lambda-go/releases/tag/v1.39.1) [Compare Source](https://togithub.com/aws/aws-lambda-go/compare/v1.39.0...v1.39.1) #### What's Changed - Yank lambda.WithSetup by [@​bmoffatt](https://togithub.com/bmoffatt) in [https://github.com/aws/aws-lambda-go/pull/489](https://togithub.com/aws/aws-lambda-go/pull/489) **Full Changelog**: aws/aws-lambda-go@v1.39.0...v1.39.1 ### [`v1.39.0`](https://togithub.com/aws/aws-lambda-go/releases/tag/v1.39.0) [Compare Source](https://togithub.com/aws/aws-lambda-go/compare/v1.38.0...v1.39.0) #### What's Changed - Update workflows by [@​bmoffatt](https://togithub.com/bmoffatt) in [https://github.com/aws/aws-lambda-go/pull/487](https://togithub.com/aws/aws-lambda-go/pull/487) - Implement CodePipelineEventDetailExecutionResult by [@​guiminyao](https://togithub.com/guiminyao) in [https://github.com/aws/aws-lambda-go/pull/486](https://togithub.com/aws/aws-lambda-go/pull/486) - fix stylecheck error by [@​bmoffatt](https://togithub.com/bmoffatt) in [https://github.com/aws/aws-lambda-go/pull/488](https://togithub.com/aws/aws-lambda-go/pull/488) **Full Changelog**: aws/aws-lambda-go@v1.38.0...v1.39.0 ### [`v1.38.0`](https://togithub.com/aws/aws-lambda-go/releases/tag/v1.38.0) [Compare Source](https://togithub.com/aws/aws-lambda-go/compare/v1.37.0...v1.38.0) #### What's Changed - Add IoT Pre-provisioning hook Request and Response structs by [@​karl-dau](https://togithub.com/karl-dau) in [https://github.com/aws/aws-lambda-go/pull/483](https://togithub.com/aws/aws-lambda-go/pull/483) #### New Contributors - [@​karl-dau](https://togithub.com/karl-dau) made their first contribution in [https://github.com/aws/aws-lambda-go/pull/483](https://togithub.com/aws/aws-lambda-go/pull/483) **Full Changelog**: aws/aws-lambda-go@v1.37.0...v1.38.0 </details> <details> <summary>aws/aws-sdk-go-v2 (github.com/aws/aws-sdk-go-v2)</summary> ### [`v1.19.0`](https://togithub.com/aws/aws-sdk-go-v2/compare/v1.18.1...v1.19.0) [Compare Source](https://togithub.com/aws/aws-sdk-go-v2/compare/v1.18.1...v1.19.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 3am on Saturday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44LjYiLCJ1cGRhdGVkSW5WZXIiOiIzNi44LjYiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
Description of changes:
The
Headers
field needs to reflect value range ofbyte
data type in the Java library.The unit test example is consistent with public docs here: https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#smaa-sample-event
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.