TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Watermill – A Go library for building event-driven services

2 点作者 roblaszczak7 个月前

1 comment

roblaszczak7 个月前
Hey, it&#x27;s Robert here, author of the library.<p>A few years ago, I worked on a project where we wanted to use Event-Driven architecture. But most team members were unfamiliar with it and uncomfortable working with asynchronous architecture. I asked myself: &quot;Is it possible to make building an Event-Driven application as simple as building an HTTP API?&quot; — and that&#x27;s how Watermill was born.<p>We currently support 12 Pub&#x2F;Subs, including Kafka, Redis, AMQP, and NATS. We also support MySQL and PostgreSQL-based Pub&#x2F;Subs, so you can use Watermill even if you don&#x27;t want to add extra infrastructure to your tech stack.<p>It&#x27;s handy for: 1. Building event-driven services 2. Implementing CQRS architecture 3. Creating complex message processing pipelines<p>We also support poison queues and the outbox pattern out of the box and provide middleware that supports logging, retries, and circuit breaking.<p>Watermill is an independent project under the MIT license. We don&#x27;t plan to get VC funding, and nobody from outside can force us to change the license to monetize the project.<p>We released Watermill v1.0 more than five years ago, and since then, we have kept backward compatibility.<p>We plan to release v1.4 soon, including updated poison queue support and sending delayed messages.<p>I&#x27;d love to hear your thoughts and feedback. If you have any questions, I&#x27;m happy to answer!<p>Links: GitHub: <a href="https:&#x2F;&#x2F;github.com&#x2F;ThreeDotsLabs&#x2F;watermill">https:&#x2F;&#x2F;github.com&#x2F;ThreeDotsLabs&#x2F;watermill</a> Documentation: <a href="https:&#x2F;&#x2F;watermill.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;watermill.io&#x2F;</a> Examples: <a href="https:&#x2F;&#x2F;github.com&#x2F;ThreeDotsLabs&#x2F;watermill&#x2F;tree&#x2F;master&#x2F;_examples">https:&#x2F;&#x2F;github.com&#x2F;ThreeDotsLabs&#x2F;watermill&#x2F;tree&#x2F;master&#x2F;_exam...</a>
评论 #41859777 未加载