Skip to content
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

move shutdownComplete call to ShardConsumer #1308

Merged
merged 3 commits into from
Apr 10, 2024

Conversation

vincentvilo-aws
Copy link
Contributor

Issue #, if available: N/A

Description of changes: Moving the shutdownNotification.shutdownComplete() call into the ShardConsumer.shutdownComplete method.

Having the shutdownNotification in ShutdownTask.java breaks backwards compatibility since the constructor is being modified. For future reference, any public method should use the @Builder annotation since it's better for backwards compatibility.

See PR #1302 for the original commits.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

chenylee-aws
chenylee-aws previously approved these changes Apr 9, 2024
@vincentvilo-aws vincentvilo-aws merged commit 9693411 into awslabs:master Apr 10, 2024
1 check passed
akidambisrinivasan pushed a commit to akidambisrinivasan/amazon-kinesis-client that referenced this pull request Apr 29, 2024
* move shutdownComplete call to ShardConsumer
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.

None yet

2 participants