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 wrote:
> I think setting max.block.ms=0 does what you want.
>
> -Jay
>
> On Sat, May 27, 2017 at 12:40 PM, Abhimanyu Nagrath <
> abhimanyunagr...@gmail.com> wrote:
I think setting max.block.ms=0 does what you want.
-Jay
On Sat, May 27, 2017 at 12:40 PM, Abhimanyu Nagrath <
abhimanyunagr...@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
So you just want to not block and just silently throw away the messages and
lose them forever? Kafka's persistence is all in the broker so there is no
client side storing of data on disk. The client will send in async mode until
the client memory buffer is full. Only then does it block, and this
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 ge
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
> wrote:
>
> Hi,
> I am using Kafka 0.10.2 single node cluster and I
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