Skip to content

Commit 24fe82f

Browse files
authored
fix: correct grpc doc (#151)
Signed-off-by: Zhangjian He <hezhangjian97@gmail.com>
1 parent 84aa58c commit 24fe82f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/guide/develop/client_design.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ classDiagram
3030
+ enum compressMethod // gzip, zstd, br
3131
+ TlsConfig tlsConfig // nullable, language specific
3232
+ void close()
33-
+ GRPCConfig grpcConfig // if null, call WriteByGRPC will nothing to do, otherwise send write request by gRPC
33+
+ GrpcConfig grpcConfig // if null, call WriteByGrpc will nothing to do, otherwise send write request by gRPC
3434
}
3535
3636
class Address {
@@ -50,7 +50,7 @@ classDiagram
5050
+ int batchSize // must be greater than 0, if set too large, may cause client overflow or server-side rejected the request.
5151
}
5252
53-
class GRPCConfig {
53+
class GrpcConfig {
5454
+ List~Address~ addresses
5555
+ AuthConfig authConfig
5656
+ BatchConfig batchConfig
@@ -158,7 +158,7 @@ classDiagram
158158
+ WritePointWithRp(String database, String rp, Point point)
159159
+ WriteBatchPoints(String database, BatchPoints batchPoints)
160160
+ WriteBatchPointsWithRp(String database, String rp, BatchPoints batchPoints)
161-
+ WriteByGRPC(req WriteRequest) // WriteRequest build from RecordBuilder
161+
+ WriteByGrpc(req WriteRequest) // WriteRequest build from RecordBuilder
162162
}
163163
class BatchPoints {
164164
+ List~Point~ points

src/zh/guide/develop/client_design.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ classDiagram
3131
+ enum compressMethod // gzip, zstd, br
3232
+ TlsConfig tlsConfig // nullable, language specific
3333
+ void close()
34-
+ GRPCConfig grpcConfig // if null, call WriteByGRPC will nothing to do, otherwise send write request by gRPC
34+
+ GrpcConfig grpcConfig // if null, call WriteByGrpc will nothing to do, otherwise send write request by gRPC
3535
}
3636
3737
class Address {
@@ -51,7 +51,7 @@ classDiagram
5151
+ int batchSize // must be greater than 0
5252
}
5353
54-
class GRPCConfig {
54+
class GrpcConfig {
5555
+ List~Address~ addresses
5656
+ AuthConfig authConfig
5757
+ BatchConfig batchConfig
@@ -159,7 +159,7 @@ classDiagram
159159
+ WritePointWithRp(String database, String rp, Point point)
160160
+ WriteBatchPoints(String database, BatchPoints batchPoints)
161161
+ WriteBatchPointsWithRp(String database, String rp, BatchPoints batchPoints)
162-
+ WriteByGRPC(req WriteRequest) // WriteRequest build from RecordBuilder
162+
+ WriteByGrpc(req WriteRequest) // WriteRequest build from RecordBuilder
163163
}
164164
class BatchPoints {
165165
+ List~Point~ points

0 commit comments

Comments
 (0)