InvokeGRPC 2.3.0.4.10.0.0-147

Bundle
com.cloudera | nifi-cdf-grpc-nar
Description
Sends FlowFiles, optionally with content, to a configurable remote gRPC service endpoint. The remote gRPC service must abide by the service IDL defined in NiFi. gRPC isn't intended to carry large payloads, so this processor should be used only when FlowFile sizes are on the order of megabytes. The default maximum message size is 4MB.
Tags
client, grpc, rpc
Input Requirement
REQUIRED
Supports Sensitive Dynamic Properties
false
Properties
Relationships
Name Description
Original The original FlowFile will be routed upon success. It will have new attributes detailing the success of the request.
Failure The original FlowFile will be routed on any type of connection failure, timeout or general exception. It will have new attributes detailing the request.
Retry The original FlowFile will be routed on any status code that can be retried. It will have new attributes detailing the request.
No Retry The original FlowFile will be routed on any status code that should NOT be retried. It will have new attributes detailing the request.
Response A Response FlowFile will be routed upon success. If the 'Output Response Regardless' property is true then the response will be sent to this relationship regardless of the status code received.
Writes Attributes
Name Description
invokegrpc.response.code The response code that is returned (0 = ERROR, 1 = SUCCESS, 2 = RETRY)
invokegrpc.response.body The response message that is returned
invokegrpc.service.host The remote gRPC service hostname
invokegrpc.service.port The remote gRPC service port
invokegrpc.java.exception.class The Java exception class raised when the processor fails
invokegrpc.java.exception.message The Java exception message raised when the processor fails