Skip to main content
If API type is gRPC, this tab is visible.
This section contains routing settings for gRPC API Proxy Type. After the API Proxy receives messages from clients and executes policies if any, it routes the message to the Backend API. The Routing tab is the tab where this routing operation is configured. Routing Tab settings are shown in the following image: Image 2024 9 9 15 35 35 Pn

Adding New Address

A new address can be added from the window that opens when the ➕ button in the column header area at the far right of the window opened with the Configure button is clicked. Image 2024 9 9 15 35 35 Pn In the new address addition window:
  • Backend API address is entered in the Address field or environment variable is used
  • Environment Variables Selection Dialog can be opened by clicking the list icon button on the right of the Address field
  • Selected environment variable is copied to clipboard and pasted into the Address field

Updating Address

The address can be updated in the window that opens when the Configure button in the Address (Address) column of the table showing addresses is clicked. Image 2024 9 9 15 35 35 Pn If this value is desired to change automatically according to the environment it is in, selection can be made from Environment Variables (Environment Variable). The address can be updated in the window that opens when the Configure button in the Address (Address) column of the table showing addresses is clicked. Environment Variables (Environment Variable) Selection dialog detail is specified in the following image. Image 2024 9 9 15 35 35 Pn When the list icon button on the right of the address input field is clicked, the Environment Variables Selection Dialog opens. Through this dialog, all environment variables (Environment Variables) defined in the project can be viewed and selected. Image 2024 9 9 15 35 35 Pn In the Environment Variables Selection Dialog:
  • All environment variables are listed (Global and Environment-Specific)
  • Filtering can be done by variable name or description with the search box
  • Key Name, Description, Type information is displayed for each variable
  • The format of the selected variable (${variableName}) is automatically copied to clipboard with the Copy button
  • The copied value can be used by pasting it into the Address field
Example Usage:
  • Environment variable: GRPC_BACKEND_URL = localhost:50051 (for Development environment)
  • Environment variable: GRPC_BACKEND_URL = grpc.example.com:443 (for Production environment)
  • Value entered in Address field: ${GRPC_BACKEND_URL}
  • At runtime in Development environment: localhost:50051
  • At runtime in Production environment: grpc.example.com:443

Routing Algorithm

Which algorithm to use among the algorithms that can be used for load balancing can be determined by the user.

Deleting Address

The address is deleted by selecting the Remove option from the dropdown menu at the end of the row of the address to be deleted.
At least one address is required for the API Proxy to route. Therefore, after deleting the last address, the save button becomes inactive and does not allow saving.

Connection Settings Configuration

The gRPC Connection Settings Definition Tab enables configuration of connections made over the gRPC protocol. This tab contains various parameters necessary to optimize the performance and security of connections. Below are the details of the settings in this tab. The parameters used for connection settings configuration are shown below. Image 2024 9 9 15 35 35 Pn

Secure Connection Setting

When this setting is enabled, the selected connection settings are applied to the request. Thus, the Apinizer client that will send from Apinizer to the target service verifies the target service’s certificate and indicates that it also has a certificate and must be verified by the target service. The target service also verifies the client’s certificate, and thus secure communication is established with the client. The parameters used for connection settings configuration are shown below. Image 2024 9 9 15 35 35 Pn
When Secure Connection settings are active, the existing “http connection pool” in routing, whose values are specified in environment settings, is disabled.