Centrifugo is an open-source scalable real-time messaging server. Centrifugo can instantly deliver messages to application online users connected over supported transports (WebSocket, HTTP-streaming, Server-Sent Events (SSE/EventSource), GRPC, WebTransport). Centrifugo has the concept of a channel – so it's a user-facing PUB/SUB server.
Centrifugo is language-agnostic and can be used to build chat apps, live comments, multiplayer games, real-time data visualizations, collaborative tools, etc. in combination with any backend. It is well suited for modern architectures and allows decoupling the business logic from the real-time transport layer.
Several official client SDKs for browser and mobile development wrap the bidirectional protocol. In addition, Centrifugo supports a unidirectional approach for simple use cases with no SDK dependency.
For details, go to the Centrifugo documentation site.
What's changed
Improvements
- Better configdoc UI #1092. Redesigned
centrifugo configdocinterface with top-level navigation, search, JSON/YAML snippets (🔥), and dark/light themes. - Add
hmac_previous_secret_keyandhmac_previous_secret_key_valid_untiloptions to provide a possibility to rotate HMAC token #1103, docs - Adding
json_objectpublication data format – more strict format to ensure a JSON object in channels #1091 - Centrifugo Helm chart v13 was released - comes with many improvements, documentation and examples.
- Adopt latest
quic-goandwebtransport-gochanges, WebTransport test #1101 - Refactor metrics – makes metrics configurable on server start and discoverable from one place #1093
- Kafka consumer: avoid using static instance id by default, add logging, eliminate one extra goroutine per partition, more reliable shutdown #1105
Fixes
- Redis broker: avoid offset incrementing on publication suppress by version centrifugal/centrifuge#549
- Add missing mutex Unlock() by @palkan in centrifugal/centrifuge#552
Miscellaneous
- This release is built with Go 1.25.7
- Updated dependencies
- See also the corresponding Centrifugo PRO release.