qmetrics.net

Jocko

Go implementation of a Kafka-compatible commit log

Jocko is a Kafka-compatible distributed commit log written in Go. It targets a single deployable binary, uses Serf for discovery and Raft for consensus, and avoids a ZooKeeper dependency.

Overview

Jocko implements a Kafka-style distributed commit log service in Go. The design goal is Kafka wire compatibility so existing Kafka clients can talk to the cluster while operations stay simpler than a full Kafka stack with ZooKeeper.

Coordination uses Serf for member discovery and Raft for partition consensus instead of an external ZooKeeper ensemble. Configuration ideas include retention based on disk percentage, not only time and byte limits.

Implemented pieces at various stages include produce and fetch APIs, metadata, topic creation and deletion, discovery, and an initial replication draft. Consumer groups and fuller protocol versioning were still open when development paused for a book project.

You can build a local binary or package a Docker image from source.

Key features

  • Kafka protocol compatibility for clients
  • Single-binary distribution goal
  • Serf-based cluster discovery
  • Raft consensus without ZooKeeper
  • Topic create and delete support
  • Produce and fetch APIs
  • Percentage-based retention configuration

Use cases

  • Experiment with a lightweight Kafka-like broker
  • Study distributed commit log design in Go
  • Run a small event log without ZooKeeper

Tags

Similar software

ntfy

HTTP pub-sub push notification service

Ntfy sends push notifications to phones and desktops via simple HTTP PUT or POST requests and a REST API, without requiring sign-up on the public host.

  • HTTP PUT and POST publishing
  • REST API access
  • Topic-based pub-sub
GoWeb, Android, iOSDetails →
★ 35.9k⟳ yesterdayApache-2.0 · open core
Open Source Alternative to:SuprSend

NSQ

Realtime distributed message queue and pub-sub platform

NSQ is a distributed messaging system built for large-scale throughput. It avoids single points of failure and ships with official Go and Python client libraries.

  • Horizontally scalable decentralized brokers
  • Pub-sub and load-balanced delivery
  • Command-line configuration and deployment
GoLinux, macOS, Windows, DockerDetails →
★ 25.8k⟳ 3 months agoMIT
Open Source Alternative to:Amazon SQS

NATS

High-performance cloud and edge messaging server

The NATS server is the messaging runtime for services and devices, aimed at distributed deployments from data centers to constrained edge hardware

  • Many-to-many async messaging
  • On-premise and cloud deployment
  • Edge and IoT oriented topology
GoDetails →
★ 21.3k⟳ todayApache-2.0
Open Source Alternative to:AblyAmazon SQS+1

OpenIM Server

Developer-oriented instant messaging backend server

OpenIM Server is the backend for embedding chat, groups, and messaging in your apps—not a standalone consumer chat client.

  • Microservice IM backend
  • REST APIs for business logic
  • Event webhooks
GoDockerDetails →
★ 16.8k⟳ 24 days agoApache-2.0

Bull

Redis-backed distributed job queue for Node.js

Bull is a Node.js queue library backed by Redis for delayed, prioritized, repeatable, and rate-limited background jobs with sandboxed workers.

  • Redis-backed durable queues
  • Delayed and cron-repeatable jobs
  • Job priorities and rate limiting
JavaScriptDetails →
★ 16.3k⟳ 6 months agoMIT
Open Source Alternative to:Amazon SQS

Gotify

Self-hosted real-time message server with Web UI

Gotify is a server for sending and receiving messages in real time over WebSocket. It includes a web interface and can run on your own infrastructure.

  • Send messages via REST API
  • Receive messages via WebSocket
  • Web UI for administration
GoWebDetails →
★ 16.3k⟳ 2 days agoMIT