-
Notifications
You must be signed in to change notification settings - Fork 542
fix(kinesis): prevent stream ARN resolution in SharedThroughput mode #3981
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
base: main
Are you sure you want to change the base?
Conversation
Fixes #3980 |
Signed-off-by: Javier Aliaga <[email protected]> Co-authored-by: Yaron Schneider <[email protected]> Co-authored-by: Cassie Coyle <[email protected]> Signed-off-by: swatimodi-scout <[email protected]>
…ponent (dapr#3853) Signed-off-by: Prashanth Nagaraj <[email protected]> Co-authored-by: Cassie Coyle <[email protected]> Co-authored-by: Yaron Schneider <[email protected]> Co-authored-by: Dapr Bot <[email protected]> Signed-off-by: swatimodi-scout <[email protected]>
Signed-off-by: Cassandra Coyle <[email protected]> Signed-off-by: swatimodi-scout <[email protected]>
Signed-off-by: swatimodi-scout <[email protected]>
…rors - Invoke logic only when KinesisConsumerMode is set to 'extended' to avoid unnecessary calls - Skip next step if error is not nil to prevent nil pointer errors on StreamDescription.StreamARN. Signed-off-by: swatimodi-scout <[email protected]>
Signed-off-by: swatimodi-scout <[email protected]>
Signed-off-by: Filinto Duran <[email protected]> Co-authored-by: Yaron Schneider <[email protected]> Signed-off-by: swatimodi-scout <[email protected]>
…re Service Bus Topics. (dapr#3942) Signed-off-by: Andy Ladd <[email protected]> Co-authored-by: Yaron Schneider <[email protected]> Signed-off-by: swatimodi-scout <[email protected]>
Signed-off-by: Javier Aliaga <[email protected]> Co-authored-by: Yaron Schneider <[email protected]> Signed-off-by: swatimodi-scout <[email protected]>
…apr#3914) Signed-off-by: Mike Nguyen <[email protected]> Co-authored-by: Yaron Schneider <[email protected]> Signed-off-by: swatimodi-scout <[email protected]>
Signed-off-by: Samantha Coyle <[email protected]> Signed-off-by: swatimodi-scout <[email protected]>
Signed-off-by: Samantha Coyle <[email protected]> Signed-off-by: swatimodi-scout <[email protected]>
Signed-off-by: Samantha Coyle <[email protected]> Signed-off-by: swatimodi-scout <[email protected]>
Signed-off-by: Samantha Coyle <[email protected]> Signed-off-by: swatimodi-scout <[email protected]>
Signed-off-by: Samantha Coyle <[email protected]> Signed-off-by: swatimodi-scout <[email protected]>
Signed-off-by: swatimodi-scout <[email protected]>
Signed-off-by: swatimodi-scout <[email protected]> Co-authored-by: peterdalinis-scout <[email protected]> Co-authored-by: Yaron Schneider <[email protected]> Signed-off-by: swatimodi-scout <[email protected]>
Signed-off-by: nelson.parente <[email protected]> Signed-off-by: swatimodi-scout <[email protected]>
Signed-off-by: Oliver Tomlinson <[email protected]> Co-authored-by: Yaron Schneider <[email protected]> Signed-off-by: swatimodi-scout <[email protected]>
Signed-off-by: Mike Nguyen <[email protected]> Signed-off-by: swatimodi-scout <[email protected]>
Signed-off-by: Mike Nguyen <[email protected]> Co-authored-by: Yaron Schneider <[email protected]> Signed-off-by: swatimodi-scout <[email protected]>
…#3969) Signed-off-by: Samantha Coyle <[email protected]> Co-authored-by: Yaron Schneider <[email protected]> Signed-off-by: swatimodi-scout <[email protected]>
Signed-off-by: Eileen Yu <[email protected]> Co-authored-by: Yaron Schneider <[email protected]> Signed-off-by: swatimodi-scout <[email protected]>
Signed-off-by: Samantha Coyle <[email protected]> Co-authored-by: Yaron Schneider <[email protected]> Signed-off-by: swatimodi-scout <[email protected]>
|
Signed-off-by: swatimodi-scout <[email protected]>
Fixed |
@yaron2 Please review the PR again. |
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
Description
This PR fixes a bug in the AWS Kinesis input binding where the stream ARN was being resolved unconditionally, even when
KinesisConsumerMode
was set toSharedThroughput
(the default).authProvider.Kinesis().Stream(...)
regardless of the consumer mode.SharedThroughput
mode, this resulted in nil pointer errors if the stream was unavailable or not initialized. This was encountered during local testing with LocalStack but can occur in any environment.KinesisConsumerMode
is set toExtendedFanout
.Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #[3980]
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:
Note: We expect contributors to open a corresponding documentation PR in the dapr/docs repository. As the implementer, you are the best person to document your work! Implementation PRs will not be merged until the documentation PR is opened and ready for review.