You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pulsar.apache.org by Apache Pulsar Slack <ap...@gmail.com> on 2018/02/28 09:11:06 UTC

Slack digest for #general - 2018-02-28

2018-02-27 14:30:02 UTC - Daniel Ferreira Jorge: Hello again! Is it currently (v1.21, or v1.22) possible to consume from multiple topics? I see that there is a REGEX feature being implemented but are there any other means to subscribe to multiple topics currenty? Thanks!
----
2018-02-27 14:56:44 UTC - Ivan Kelly: @Daniel Ferreira Jorge not currently
----
2018-02-27 15:12:05 UTC - Daniel Ferreira Jorge: ok, thanks @Ivan Kelly!
----
2018-02-27 17:05:53 UTC - Matteo Merli: @Daniel Ferreira Jorge the only current way to subscribe to multiple topics is to subscribe to each individual topic using a common message listener, so that you don’t have to call `receive()` on each consumer
----
2018-02-27 17:07:17 UTC - Daniel Ferreira Jorge: hi @Matteo Merli thanks! Do you have a sample code anywhere?
----
2018-02-27 17:13:19 UTC - Matteo Merli: @Matteo Merli uploaded a file: <https://apache-pulsar.slack.com/files/U680ZCXA5/F9FKT0Q5S/example_for_consuming_from_multiple_topics.java|Example for consuming from multiple topics>
----
2018-02-27 23:15:28 UTC - Daniel Ferreira Jorge: Thank you very much @Matteo Merli. That is just what I needed!
+1 : Matteo Merli
----