You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Ryan Worsley <ry...@gmail.com> on 2018/02/26 16:18:09 UTC
Writing a message to all partitions
Hey everyone,
I believe I have a use-case for writing a control message periodically and
transactionally to ALL partitions of a topic (so that it's totally ordered
with respect to events).
Does anyone know if this is a terrible idea? Are there any best practices
with doing it? Is there a better, more canonical pattern for achieving it?
Kind regards,
Ryan.
Re: Writing a message to all partitions
Posted by Matt Farmer <ma...@frmr.me>.
I don’t think this is a terrible idea. It’s really the only way to know what events were before and what events were after an event across all partitions.
> On Feb 26, 2018, at 11:18 AM, Ryan Worsley <ry...@gmail.com> wrote:
>
> Hey everyone,
>
> I believe I have a use-case for writing a control message periodically and
> transactionally to ALL partitions of a topic (so that it's totally ordered
> with respect to events).
>
> Does anyone know if this is a terrible idea? Are there any best practices
> with doing it? Is there a better, more canonical pattern for achieving it?
>
> Kind regards,
> Ryan.