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

feat: add grpc config options and turn off keepalive for Lambda config #351

Merged
merged 6 commits into from
Mar 9, 2024

Conversation

anitarua
Copy link
Contributor

@anitarua anitarua commented Mar 5, 2024

Adds message size to support messages up to 5mb by default (though I was only able to find the max receive message size option through the NettyChannelBuilder interface).

Adds keepalive settings to the configs as well. Disables keepalive for the cache control client and the Lambda prebuilt config. Sets different keepalive values for the topics prebuilt configs based on the values that were hardcoded into the topic grpc manager.

@anitarua anitarua marked this pull request as ready for review March 6, 2024 00:07
Comment on lines -42 to -44
channelBuilder.keepAliveTime(10, TimeUnit.SECONDS);
channelBuilder.keepAliveTimeout(5, TimeUnit.SECONDS);
channelBuilder.keepAliveWithoutCalls(true);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

propagated these values to the prebuilt topics configs

Copy link
Contributor

@cprice404 cprice404 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking good, some minor comments, and would also like to get @pratik151192 or someone to review before we merge.

@anitarua anitarua requested a review from cprice404 March 7, 2024 00:42
Copy link
Contributor

@cprice404 cprice404 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm except one last nitpicky question

Copy link
Contributor

@cprice404 cprice404 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. let's get either @pratik151192 or @nand4011 to review, just to make sure we're all aligned on the new API surface area, then 🚢

nice

@anitarua anitarua requested a review from cprice404 March 8, 2024 00:44
@anitarua anitarua merged commit 7bba262 into main Mar 9, 2024
5 checks passed
@anitarua anitarua deleted the grpc-configs branch March 9, 2024 00:09
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.

3 participants