On Thu, Oct 10, 2019 at 9:41 PM Dweep Sharma <[email protected]> wrote:
> 1) Pub-sub between client/server to display messages while user waits on 
> app/browser. - Do the brokers need to be public or can this be done via a 
> proxy. any documentation to set this up would help. Would need to ensure 
> security.

You can expose a Pulsar cluster through a Pulsar proxy. The proxy is a
completely stateless layer that can be exposed on a public network.

https://pulsar.apache.org/docs/en/administration-proxy

> 2) If there is a network interruption between consumer/broker, when the 
> consumer reconnects, a means to rebroadcast or relay the missed messages. IS 
> this something built in or needs to be added as a custom functionality.

The consumer will automatically reconnect and will resume consuming
from where it left off.

> 3) Pub-sub between two backend services to move away from blocking calls that 
> add load/latency on infra. Needs to be private as the messages shared 
> shouldn't be exposed client side.

Even if you a public proxy, you can directly connect to brokers for
internal services.

> 4) Does Pulsar provide a means to separate out the topics so this can be 
> achieved with a single cluster or do I need to setup two clusters for private 
> and public

Pulsar provide the notion of tenant and namespaces, as a way to group
and configure the topics.

https://pulsar.apache.org/docs/en/concepts-multi-tenancy

Reply via email to