加载中
正在获取最新内容,请稍候...
正在获取最新内容,请稍候...
Watermill is a Go library for building event-driven applications, enabling easy creation of message-based systems, microservices, and distributed workflows with support for various message brokers and patterns.
Watermill is a robust Go library designed to simplify the development of event-driven applications and microservices. It provides a common interface for publishing and consuming messages, abstracting away the complexities of underlying message brokers.
Building reliable and scalable event-driven systems in Go often involves complex boilerplate code, tight coupling to specific message broker APIs, and challenges in handling message processing guarantees. Watermill solves this by offering a flexible, pluggable architecture and a standardized API.
Provides a consistent `Publisher` and `Subscriber` interface regardless of the underlying message broker.
Supports a wide range of message brokers like Kafka, RabbitMQ, NATS, Google Cloud Pub/Sub, SQL, and more via configurable Pub/Sub implementations.
Offers a powerful middleware system for common concerns like logging, metrics, error handling, retries, and message correlation.
Watermill is ideal for scenarios requiring reliable and scalable message-based communication in Go applications:
服务之间通过消息队列进行异步通信,解耦服务依赖,提高系统韧性和可伸缩性。
simplifies inter-service communication with robust messaging patterns and flexible broker support.
从消息队列消费实时数据,进行处理、分析或转发,构建响应式数据管道。
Provides reliable consumption and processing guarantees for high-throughput data streams.
使用消息触发后台任务执行,确保任务不丢失且可重试。
Enables robust, asynchronous background task execution decoupled from the main application flow.
You might be interested in these projects
OpenObserve is a high-performance, low-cost, and scalable alternative to Elasticsearch, Splunk, and Datadog, designed for storing and analyzing logs, metrics, traces, RUM, error tracking, and session replay data.
Rofi is a window switcher, application launcher, and dmenu replacement. It offers a quick and efficient way to interact with your desktop environment using keyboard shortcuts, providing fuzzy search and customization options.
Cognee is an open-source framework providing advanced memory capabilities for AI agents, enabling persistent knowledge, contextual understanding, and sophisticated reasoning.