Parameters
See plugin common configurations for configuration options available to all plugins.
proto_id
ID of the APISIX proto resource, which contains the protocol buffer definitions.
service
Name of the gRPC service.
method
Method name of the gRPC service.
deadline
Deadline for the gRPC service in ms. This is the time APISIX will wait for a gRPC call to complete.
pb_option
Encoder and decoder options. The option can be configured as an array of one or more of the below values:
For enum as result:
enum_as_name,enum_as_valueFor int64 as result:
int64_as_number,int64_as_string,int64_as_hexstringFor default values:
auto_default_values,no_default_values,use_default_values,use_default_metatableFor hooks:
enable_hooks,disable_hooksshow_status_in_body
If true, display the parsed
grpc-status-details-binin the response body.status_detail_type
The message type corresponding to the details part of
grpc-status-details-bin. If not specified, the error message will not be decoded.max_resp_body_size
vaild vaule:
greater than or equal to 1
Maximum response body size in bytes buffered for transcoding. A larger response is truncated to this size before transcoding. The chunk that crosses the threshold is buffered before the limit is enforced, so transient memory use can exceed the configured size. Introduced in API7 Enterprise 3.9.17 and 3.10.4, and APISIX 3.18.0.