kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chia-Chun Shih <chiachun.s...@gmail.com>
Subject Re: One question about "New Producer Configs"
Date Mon, 10 Nov 2014 07:27:05 GMT
Dear Genlong,

"New Producer Configs" is for upcoming versions. If you are using 0.8.1,
please refer to "Producer Configs".

acks=n, in which n means number of in-sync replicas, not number of
partitions.

regards,
Chia-Chun

2014-11-10 10:51 GMT+08:00 hi <995174153@qq.com>:

> Dear sir or madam,
>
>     There is one question when I'm using Kafka:
>     From the "documentation:New Producer Configs" ,I get that acks=n means
> the number of acknowledgments the producer requires the leader to have
> received before considering a request complete. But why can the producer
> send messages successfully when I use the  Producer API‍ and  the acks is
> set to 2 (the number of partitions is 3 but there is only one partition‍
> can work)?
>
> Thanks a lot and look forward to hearing from you soon.
>
> Best Regards,
>
> Genlong Wang
> ‍
>
> ‍‍‍

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