Hi Ruoruo,

In order to consume messages in order on a partitioned topic, you should
use the “Failover” subscription type.

That will ensure that each partition will be asssigned to only 1 consumer,
and you can add consumers to scale up your processsing. (And each consumer
will get assigned multiple partitions).

http://pulsar.apache.org/docs/en/standalone/#failover


On Thu, Jan 10, 2019 at 9:18 PM Ruoruo Wong <wyk900...@gmail.com> wrote:

> Hi Pulsar team
>     I am really pleasant that Pulsar system helps me to improve my business
> performance.
>     And I have a problem about topic partition that I suppose the same hash
> to be consumed by the same consumer, like Kafka.
>     After I check the document, only resolution is "use the
> $TOPIC-partition-N as the topic name to subscribe to a specific
> subscription",
> but this is not proper for elastic system.
>     Is there any other option could I choose?
>
> Thanks
>
-- 
Matteo Merli
<mme...@apache.org>

Reply via email to