← Back to list

Step-by-Step Guide for Generating a gRPC Connector for WSO2 Integrator: MI

Unlock the Power of gRPC: Creating Custom Connectors for WSO2 Integrator:MI (Micro Integrator)

Sumudu Nissanka in Think Integration · 2025-05-21 05:42 · 230 claps · 3.2 min read
#wso2 #micro-integrator #wso2-micro-integrator #low-code #grpc
Open on Medium ↗
Wiki topics: GRW · Growth & Analytics

Step-by-Step Guide for Generating a gRPC Connector for WSO2 Integrator: MI

Unlock the Power of gRPC: Creating Custom Connectors for WSO2 Integrator:MI (Micro Integrator)

In today’s integration landscape, connectors are crucial in ensuring seamless communication between systems. Low-code platforms have become increasingly popular as organisations seek more efficient ways to handle data flow and automate processes. These platforms allow product teams to meet deadlines efficiently by reducing the need for manual coding and offering a more visual interface. Positioned between traditional coding and no-code platforms, low-code solutions offer a balance of simplicity and customisation. One of the key elements driving integration acceleration in low-code environments is the use of connectors. Connectors are essential components of any low-code platform, enabling integration with various protocols such as REST, gRPC, GraphQL, and more.

This article will guide you through the process of building a custom connector that allows you to integrate and invoke gRPC services within a low-code platform.

Understanding gRPC and MI Connectors

gRPC is an open-source remote procedure call (RPC) framework that utilises HTTP/2 for transport and Protocol Buffers for interface definition. It provides significant advantages over traditional REST APIs, including improved performance, strong typing, and bidirectional streaming capabilities.

WSO2 Integrator: MI (Micro Integrator) is a low-code software development product developed by WSO2. MI connectors act as a bridge between your integration workflows and external systems. By creating a custom gRPC connector, you can seamlessly integrate gRPC services into your MI-based integration scenarios, leveraging gRPC’s performance benefits while maintaining the low-code approach that MI offers.

In my previous article, we discussed how beneficial it is to have low code with gRPC: https://medium.com/@lnash94/grpc-with-low-code-a-modern-approach-to-scalable-apis-bd4bcf3684f9

The gRPC connector tool for MI

Generated gRPC connector logo

Generated gRPC connector logo

With the growing adoption of gRPC as a high-performance communication protocol, the goal is to develop a dedicated gRPC connector for WSO2 Integrator MI. This connector would enable integrators to efficiently manage gRPC services, offering a more comprehensive and flexible integration platform.

Since MI currently lacks built-in support for gRPC-based communication, providing a standalone gRPC connector is highly beneficial. This approach encapsulates all gRPC communication details, making integration smoother and more efficient.

In this context, we introduce the gRPC Connector Generator tool for WSO2 MI. Simply bring your .proto file, and we will help make your integration with the gRPC protocol seamless.

Now, let’s walk through the steps for generating your gRPC-based connector for MI integrations.

Generate a gRPC Connector for WSO2 Integrator: MI Step-by-Step

Prerequisites

  • Java JDK: 8 or newer: java -version
  • Apache Maven: 3.6. x or newer: mvn -version

1. Clone & Build the Generator tool

A ZIP bundle is produced at target/mi-connector-generator-<version>.zip.

2. Unpack the Tool

  • unzip target/mi-connector-generator-<version>.zip -d ~/tools/
  • $cd ~/tools/mi-connector-generator-<version>/bin

3. Generate Your Connector

# macOS / Linux

  • $ ./generate.sh <path/to/file.proto> <output/dir> [<miVersion>]

# Windows

  • $ generate.bat <path\to\file.proto> <output\dir> [<miVersion>]

Arguments:

  • 1st Argument: .proto file describing the service.
  • 2nd Argument: Destination folder for the generated connector.
  • 3rd Argument : Target MI version (defaults to the latest).

[embed]How to use gRPC connector tool for generating connector to WSO2 MI This is "How to use gRPC connector tool for generating connector to WSO2 MI" by Lnash Nissanka on Vimeo, the home for…vimeo.com

How to use the generated connector in the MI project

Step 1: Build the Generated Connector. Use Maven to build the generated connector:

$mvn clean install

Step 2: Import the Built Connector ZIP into MI

  1. Create a new MI project.
  2. Open the component mediator palette.
  3. Select the Connection tab, then click Add New Connection.
  4. Choose Import Connection using ZIP and select the generated connector ZIP file (the one obtained after building the connector).
  5. After importing, you can use the connector in your integration by creating connections.

All related RPC calls will be listed under the mediator palette for easy access.

[embed]

Conclusions

In short, low-code platforms thrive on ready-made connectors to orchestrate fast, reliable integrations, and gRPC adds the speed, type-safety, and streaming power modern workloads demand.

By pairing WSO2 Integrator: MI with the new gRPC Connector Generator, teams can turn any .proto definition into a plug-and-play MI connector, combining gRPC’s high performance with MI’s visual, low-code experience. The result: quicker delivery cycles, cleaner architectures, and a future-proof path for integrating high-throughput services across your organisation.

Happy reading !!!


메타데이터
post_id
472e6b958fe8
slug
generate-a-grpc-connector-for-wso2-micro-integrator-step-by-step-guide-472e6b958fe8
url
https://medium.com/think-integration/generate-a-grpc-connector-for-wso2-micro-integrator-step-by-step-guide-472e6b958fe8
canonical_url
https://medium.com/think-integration/generate-a-grpc-connector-for-wso2-micro-integrator-step-by-step-guide-472e6b958fe8
author_url
https://medium.com/@lnash94
status
ok
fetched_at
2026-06-14 17:09:17