Replies: 1 comment
|
I think that such a feature could be really useful for some scenarios. Also, my question is whether there should be an aggregated poll response (a new model), or maybe we could extend the existing At the same time, we'd either need to change the As for the consumer groups, such a consumer should join all of the requested topics and whether to auto ack or not during |
Uh oh!
There was an error while loading. Please reload this page.
the idea: poll many topics at once with a pattern instead of one per call. something like
*.*.*.*.<domain>.<tenant>, matching every topic that fits, including ones created later. NATS, MQTT and Solace all expose this (as subjects / topic filters) and people lean on it for event-driven systems.we've had a couple of asks for it now, the latest wanting to swap a NATS event bus for iggy.
this isn't about storage. matching happens at poll time against live metadata, so there is nothing new to persist (and naming topics
a.b.c.dalready works today).we could fake it client-side: list topics, filter, poll each. but then you have to re-list constantly to catch new topics, and it's a lot of round trips. this feels like something we should own server-side: a poll takes a pattern, the server resolves it against current metadata and returns messages from every matching topic.
the interesting questions:
*,>/#) vs full regex. i lean token, since it's predictable and cheap to match.no rush on timing. realistically this lands after VSR, and i'd put it roughly a notch below #2854 in priority. mostly i'm opening this to see who wants it, what their topic patterns look like, and to settle the questions above before anyone writes code.
(moved out of #3505, which i'm closing.)
thoughts?
All reactions