Comments (6)
This is planned in the on-premise (nonfree) version! I'll let you know as soon as this feature is available.
We don't include clustering transports in the free version, but distributing them as standalone packages is of course totally ok if you want to contribute them!
from mercure.
I think I'm starting to understand now. Each "backend" - bolt, local, redis, Kafka, postgres - is implemented via a Transport The bolt and local ones are included in this repo, and the cluster ones are provided when you pay for the on prem version.
So, a NATS Transport would need to be made, using the Transport.go file as a starting point (and the bolt and local ones as reference). I figure it would involve importing the nats.go client in the Transport to create a connection and relay the pubsub requests.
I'll poke around to see what I can figure out. I've always wanted to learn Go, so this is a good opportunity to get started. I expect that Copilot Chat will be helpful here if I add the repos to a workspace and open the transport files.
from mercure.
as far as i understand, mercure uses boltdb as events store
are you going to use external broker (nats, memphis, kafka, etc ) for this purpose?
looks like mercure needs plug-able storage support
what do you think?
from mercure.
@g41797 it already has a pluggable transport support, and many transports supporting clustering as available in the paid version: https://mercure.rocks/docs/hub/cluster
from mercure.
Any guidance you could provide on how to at least start implementing something like this (a particular file and class to look at?) would be much appreciated! Though I completely understand if you prefer to keep that close to the chest for your paid on prem versions
from mercure.
i have no clue regarding clustering, but i can try to develop support for nats js and memphis
your turn
from mercure.
Related Issues (20)
- Switch from golang-jwt/jwt to go-jose/go-jose HOT 3
- Help for configuring Mercure behind nginx as proxy-server HOT 6
- I'm trying to get mercure to work on a Plesk server, but it's unreachable HOT 1
- Upstream Error when Using Mercure with Nginx Ingress on Kubernetes
- Strugling to format http.log.access.log0 logs to full json HOT 2
- CORS (403 Errors) when OPTIONS requests sent
- Include Version in Distribution Tar Balls
- Not able to use https protocol getting net::ERR_CONNECTION_REFUSED in browser
- Error 401
- Nginx Reverse Proxy to Mercure Hub - 502 Bad Gateway Error [Symfony 6 - API Platform] HOT 3
- 400 Bad Request on publishing more than 10 MB HOT 5
- fix: Security Vulnerabilities in dependencies/packages HOT 2
- helm - invalid pvc template for storageClass HOT 1
- demo chat fails with 401 HOT 1
- Errors/crashes on apple silicon m2 HOT 3
- Unable to upgrade an API-Platform/FrankenPHP/Mercure Docker Swarm service without downtime HOT 3
- Memory leak HOT 2
- OTEL traces / metrics support HOT 2
- New Relic Integration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mercure.