mqtt-to-kafka-bridge
nats.ws
mqtt-to-kafka-bridge | nats.ws | |
---|---|---|
1 | 2 | |
36 | 297 | |
- | 2.4% | |
10.0 | 6.7 | |
over 1 year ago | 10 days ago | |
JavaScript | JavaScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mqtt-to-kafka-bridge
-
Show HN: DriftDB is an open source WebSocket back end for real-time apps
MQTT-over-websocket does exist, and most MQTT brokers support it (Mosquito, AmazonMQ etc.). You're right about the compaction - MQTT doesn't have anything in it's protocol about compaction, and I don't know of any brokers that implement it. Having said that, you could use an MQTT-kafka bridge.
Something like Mosquito + https://github.com/nodefluent/mqtt-to-kafka-bridge + Redpanda in a docker image would work, though obv. this might be a bit overkill for most. Having said that, it does open many new avenues for interaction at scale. You pays your money...
nats.ws
-
Show HN: DriftDB is an open source WebSocket back end for real-time apps
Even with NATS jetstream, NATS has a focus on service communication.
"It supports websockets" and "qos" does not mean it will work robustly with web apps if nobody uses NATS for that use case. See https://github.com/nats-io/nats.ws/issues/172 for an example issue. If NATS is not used for websockets in browsers, it will have a mine field of issues to fix. And what about all the other clients (mobile, mobile web)? Sure there may be a NATS client library for it, but it won't handle user connectivity issues, because again it's aimed at service communication where the network is great.
People are using NATS in kubernetes, not web browsers.
What are some alternatives?
Centrifugo - Scalable real-time messaging server in a language-agnostic way. Self-hosted alternative to Pubnub, Pusher, Ably. Set up once and forever.
exhibitor - Snappy and delightful React component workshop
stan.go - NATS Streaming System
plane - A distributed system for running WebSocket services at scale.
colyseus - ⚔ Multiplayer Framework for Node.js
NATS - High-Performance server for NATS.io, the cloud and edge native messaging system.