Skip to end of banner
Go to start of banner

gRPC Client Example

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 2 Current »

Example 1: gRPC Client Snap with upstream Mapper Snap

The following example pipeline demonstrates how to send a gRPC request to the designated server for processing.

ex-grpc-pipeline-overview.png
  1. Configure the Mapper Snap as shown below:

    ex-grpc-mapper-config.png
  2. Configure the gRPC Snap with the Server endpoint, gRPC service and gRPC method details.

    ex-grpc-client-config.png
    1. On validation, the Snap executes the method, appends Hello to the input stream, and displays the following output response from the server.

    ex-grpc-client-output.png

 

Example -2: gRPC Client Snap with upstream JSON Generator Snap

ex2-grpc-client-oveview.png
  1. Configure the JSON Generator Snap with some sample data.

[
    {
       "name" : "Doc Test"
    }
]
  1. Configure the gRPC Client Snap as shown below:

    ex-grpc-client-config.png

    On validation, the Snap executes the method, appends Hello to the input stream, and displays the following output response from the server.

    ex2-grpc-client-output.png

Downloads

  1. Download and import the pipeline into the SnapLogic application.

  2. Configure Snap accounts, as applicable.

  3. Provide pipeline parameters, as applicable.

  File Modified
No files shared here yet.
  • No labels