Open vramanx opened 5 years ago
Haven't found some examples for NATS and Service Fabric... Have you tried using Docker to run NATS on Azure Fabric? https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-docker-compose Although according to docs it is not recommended for production.
I am successfully running NATS on ServiceFabric cluster as a guest host, bootstrapping cluster configuration using SF's partition discovery. The trick was to set the environment variable NATS_DOCKERIZED and run the guest EXE with elevated permissions. I'll publish an example on a gist and report back here.
Thanks @israellot !
Cant wait to get hands on your sample.
Take a look here @vramanx https://github.com/israellot/service-fabric-nats
Thanks @israellot - will take a look!
Microsoft service fabric provides a way to wrap any executable as a stateless service and instantiate it on all the servers.
https://github.com/Microsoft/service-fabric
Service Fabric is a cluster already. How can i use that to form a NATS cluster? Are there examples for this already?