Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Build from source

Developer build instructions for mq-bridge-app — the CLI/server, the desktop (Tauri) app, and the Docker image. For prebuilt installs (cargo binstall, release bundles, Docker Hub images) see the main README.

Prerequisites

  • Rust toolchain (latest stable version recommended)
  • Access to the message brokers you want to connect (e.g. Kafka, NATS, RabbitMQ)

CLI / server

  1. Clone the repository:

    git clone https://github.com/marcomq/mq-bridge-app
    cd mq-bridge-app
    
  2. Build and run the CLI (empty):

    cargo run --release
    
  3. Build and run with a config:

    cargo run --release -- --config dev/config/file-to-http.yml
    

Create a config.yml in the project root or set environment variables — or start without one and use the UI to define config.yml.

For IBM MQ, install the client library first and build with --features=ibm-mq. See the IBM MQ Setup Guide.

Desktop app (Tauri)

The desktop UI is a Svelte frontend driven by a Tauri backend:

npm install
npm run dev

To build the UI bundle and serve it from the Rust backend:

npm run build:ui
cargo run --release

Docker image (no local Rust required)

Requires Docker and Docker Compose:

docker-compose up --build

This builds and starts the bridge CLI application.