-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add TLS support to mailboxes used in the multi-stage engine #14476
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
Add TLS support to mailboxes used in the multi-stage engine #14476
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #14476 +/- ##
============================================
+ Coverage 61.75% 63.81% +2.06%
- Complexity 207 1567 +1360
============================================
Files 2436 2663 +227
Lines 133233 146225 +12992
Branches 20636 22404 +1768
============================================
+ Hits 82274 93313 +11039
- Misses 44911 46022 +1111
- Partials 6048 6890 +842
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
| channelBuilder = | ||
| ManagedChannelBuilder.forAddress(host, port).maxInboundMessageSize(config.getMaxInboundMessageSizeBytes()) | ||
| .usePlaintext(); | ||
| channelBuilder = ManagedChannelBuilder |
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.
Only refactors in this file.
| if (tlsConfig != null) { | ||
| try { | ||
| _server = NettyServerBuilder.forPort(port).sslContext(buildGRpcSslContext(tlsConfig)) | ||
| _server = NettyServerBuilder.forPort(port).sslContext(buildGrpcSslContext(tlsConfig)) |
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.
Only refactors in this file.
pinot.multistage.engine.tls.enabledis set totrue. The mailbox mechanism is also used to stream the final query results from servers to brokers.