If we have 2 producers producing to a partition, they can be out of order,
then how does one producer know what offset to expect as it does not
interact with other producer?

Can you give an example flow that explains how it works with single
producer and with multiple producers?


Thanks,

Mayuresh

On Fri, Jul 17, 2015 at 10:28 AM, Flavio Junqueira <
fpjunque...@yahoo.com.invalid> wrote:

> I like this feature, it reminds me of conditional updates in zookeeper.
> I'm not sure if it'd be best to have some mechanism for fencing rather than
> a conditional write like you're proposing. The reason I'm saying this is
> that the conditional write applies to requests individually, while it
> sounds like you want to make sure that there is a single client writing so
> over multiple requests.
>
> -Flavio
>
> > On 17 Jul 2015, at 07:30, Ben Kirwin <b...@kirw.in> wrote:
> >
> > Hi there,
> >
> > I just added a KIP for a 'conditional publish' operation: a simple
> > CAS-like mechanism for the Kafka producer. The wiki page is here:
> >
> >
> https://cwiki.apache.org/confluence/display/KAFKA/KIP-27+-+Conditional+Publish
> >
> > And there's some previous discussion on the ticket and the users list:
> >
> > https://issues.apache.org/jira/browse/KAFKA-2260
> >
> >
> https://mail-archives.apache.org/mod_mbox/kafka-users/201506.mbox/%3CCAAeOB6ccyAA13YNPqVQv2o-mT5r=c9v7a+55sf2wp93qg7+...@mail.gmail.com%3E
> >
> > As always, comments and suggestions are very welcome.
> >
> > Thanks,
> > Ben
>
>


-- 
-Regards,
Mayuresh R. Gharat
(862) 250-7125

Reply via email to