Skip to content

Applied & Integrations2025In production

Channel Manager

A Go-based channel manager that keeps hotel availability, rates and bookings in sync across online travel agencies.

Role
Lead Engineer
Period
2025
Status
In production
Domain
Applied Software & Integrations
Zafari back-office availability calendar showing room types and units for a week

Overview

The channel manager inside Zafari, a hospitality platform where hotels manage properties, rooms, rate plans and bookings. It keeps room availability, rates and bookings in sync between Zafari and online travel agencies (OTAs) such as Booking.com, Airbnb and Expedia, through Channex.io.

Problem and context

Hospitality businesses struggled to manage availability, rates and bookings across several OTAs. Stale or inconsistent data across channels leads to overbookings and lost revenue.

Architecture and approach

  • A set of Go (Gin) services - accounts, property management, booking engine, mailing and a dedicated Channex.io sync service - each owning its own MySQL database.
  • Kafka replicates entity changes between services: the owning service produces an event and consumers upsert a local copy and run side effects, such as updating channel status when a property or room type changes.
  • Property, room type and rate plan activation map Zafari inventory to the OTA side. OTA bookings and booking revisions flow back in from Channex.io, and availability is pushed out again after a direct booking on Zafari.
  • Every failed third-party call is recorded with the property, the caller (system or user) and the task, so integration failures can be traced per property.
  • Nuxt 3 back-office and admin apps in an Nx monorepo, schema migrations in Liquibase, and Cloud Build deploying every service to Google Cloud Run.

Engineering decisions

  1. 01

    Each service owns its data

    Services never share a database. Cross-service fields are replicated through Kafka events, which keeps the Channex sync service independent of the booking engine's storage.

  2. 02

    Integration failures are data, not log lines

    Third-party API errors are persisted as records tied to a property and task, which makes OTA sync problems visible and debuggable from the product rather than from server logs.

Outcomes

  • Near real-time propagation of inventory and pricing changes.
  • Reduced revenue leakage caused by stale or inconsistent OTA data.
  • Improved operational visibility and debugging for external integrations.

Technology

Go · Kafka · MySQL · Nuxt · Channex.io · Docker · GCP Cloud Run

Marvin Kweyu

Senior Platform & Backend Engineer. Building the infrastructure layer that stays reliable long after it ships to hardware I'll never log into.

© 2026 Marvin Kweyu. All rights reserved.

Built with curiosity and code.