-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(client): add settings for gRPC client
Previously, the client provided WithGRPCDialOptions to configure general gRPC client options. However, it was challenging to use since there are so many options in gRPC, and hard for users to know the necessary things. This PR provides more specific options: - WithGRPCReadBufferSize - WithGRPCWriteBufferSize - WithGRPCInitialConnWindowSize - WithGRPCInitialWindowSize It also sets up some options like MaxCallRecvMsgSize and MaxCallSendMsgSize. It uses math.MaxInt32 value for them. Varlog users are not necessarily taken into account the maximum message size limit.
- Loading branch information
Showing
2 changed files
with
48 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters