kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhimanyu Nagrath <abhimanyunagr...@gmail.com>
Subject Re: Producer Async Issue
Date Mon, 29 May 2017 02:36:55 GMT
Hey Jay,

What will be the disadvantages of setting max.block.ms=0?


Regards,
Abhimanyu

On Mon, May 29, 2017 at 3:15 AM, Jay Kreps <jay@confluent.io> wrote:

> I think setting max.block.ms=0 does what you want.
>
> -Jay
>
> On Sat, May 27, 2017 at 12:40 PM, Abhimanyu Nagrath <
> abhimanyunagrath@gmail.com> wrote:
>
> > HI Hans,
> >
> > What exactly I meant by asynchronous is that when my Kafka broker is down
> > and I am trying to produce the message . It is getting stuck till the
> > configured max.block.ms and after that further code is executed. What I
> am
> > looking for is that whether the broker is down or not it should not get
> > stuck.
> >
> >
> >
> > Regards,
> > Abhimanyu
> >
> > On Sat, May 27, 2017 at 10:30 PM, Hans Jespersen <hans@confluent.io>
> > wrote:
> >
> > > The producer is asynchronous (assuming you mean the Java Producer)
> > >
> > > https://kafka.apache.org/0102/javadoc/index.html?org/apache/
> > > kafka/clients/producer/KafkaProducer.html
> > >
> > > -hans
> > >
> > > > On May 27, 2017, at 5:15 AM, Abhimanyu Nagrath <
> > > abhimanyunagrath@gmail.com> wrote:
> > > >
> > > > Hi,
> > > > I am using Kafka 0.10.2 single node cluster and I want to know
> > > > Kafka producer completely asynchronous. So what configuration I need
> to
> > > > change in order to make producer completely asynchronous.
> > > >
> > > >
> > > >
> > > > Regards,
> > > > Abhimanyu
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message