Parameters
See plugin common configurations for configuration options available to all plugins.
proto_id
ID of the proto resource that contains the protocol buffer definitions.
service
Name of the gRPC service.
method
Method name of the gRPC service.
deadline
Time in milliseconds the gateway waits for the gRPC call to complete. Set to
0to omit the deadline.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
Protobuf message type used to decode each details entry in
grpc-status-details-bin. When omitted, the details remain genericAnyvalues.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.