liftbridge-io / liftbridge

Lightweight, fault-tolerant message streams.
https://liftbridge.io
Apache License 2.0
2.58k stars 107 forks source link

Embedded NATS on k8s #358

Open nfoerster opened 3 years ago

nfoerster commented 3 years ago

Hi,

is it possible to run liftbridge on k8s in multiple pods with embedded NATS enabled? How are those embedded NATS servers connected to each other? If it works, are there any example configuration files?

Thanks for the information

tylertreat commented 3 years ago

This should work though I don't have an example config handy. You would probably run Liftbridge+embedded NATS as a stateful set and then configure the Liftbridge servers to point to the embedded NATS instances (see NATS configuration documentation).