[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [mosquitto-dev] Mosquitto Client only
|
Hello,
No, just because the binary for mosquitto broker is installed, that
doesn't mean it has to be running.
Also no, mosquitto doesn't have any native clustering/HA support. You
can bridge multiple brokers together to distribute messages amongst a
cluster of brokers but there is no support replicating session data.
Using an external load balancer won't help with session distribution.
On 11/01/2021 07:19, Sharan Guhan wrote:
> Thanks Matt and Greg for your inputs..
>
> If I choose to run the entire mosquitto package, which means 3 brokers
> will be running the 3 containers, but 2nd and 3rd will only connect to
> 1st broker's IP address, so 2nd and 3rd's broker will be inactive ?
>
> Also does mosquitto broker support HA/clustering or needs an external
> HAProxy to support it ? Please help clarify.
>
> Sharanya
>
> On Fri, Jan 8, 2021 at 5:28 PM Matt Woelfel <matt@xxxxxxxxxxxxx
> <mailto:matt@xxxxxxxxxxxxx>> wrote:
>
> Depending on which container you are using you have a couple of options.
> 1. centos:7 paho is available as just an mqtt client from the epel:
> yum install paho-c.
> 2. centos:8 I don't see paho packaged for centos:8, so you could
> build it yourself.
>
> As Greg mentioned, the size difference is insignificant (paho is 1.3
> M with dependent packages and mosquitto is 1.4 M), so it's probably
> not worth the effort to strip out the broker.
> If size is really an issue you can install the mosquitto package and
> remove the broker manually (rm /usr/sbin/mosquitto).
>
> On Fri, Jan 8, 2021 at 7:19 PM Greg Troxel <gdt@xxxxxxxxxx
> <mailto:gdt@xxxxxxxxxx>> wrote:
>
>
> Sharan Guhan <sharanyu@xxxxxxxxx <mailto:sharanyu@xxxxxxxxx>>
> writes:
>
> > Please let me know where can I download mosquitto C Client
> alone, for
> > Centos container ? When I use "yum install mosquitto", it installs
> > the broker also.. I want to create this
>
> Two separate bits of advice:
>
> problems with or wishes about centos packaging should be
> directed to
> centos. mosquitto releases one tarball which by default
> builds both,
> and I don't see that as a bug.
>
> Choose to be ok with the broker bits sitting on your disk. They
> aren't really that big. It is likely far less total effort
> to accept
> them than to fight it. It's not like they use QT!
> _______________________________________________
> mosquitto-dev mailing list
> mosquitto-dev@xxxxxxxxxxx <mailto:mosquitto-dev@xxxxxxxxxxx>
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/mosquitto-dev
>
>
> _______________________________________________
> mosquitto-dev mailing list
> mosquitto-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/mosquitto-dev
>
--
https://www.hardill.me.uk/wordpress
https://github.com/hardillb
https://about.me/hardillb
https://flickr.com/photos/hardillb/
https://keybase.io/hardillb