On Dec 14, 5:38 pm, 肖康(Kang Xiao) <kxiao.ti...@gmail.com> wrote:
> The message guranting api will call the spout's fail() interface to resend
> tuple if a tuple is timeout to avoid message lost. Resending a tuple in
> fail() may cause some bolt receive duplicated tuple. The duplicated tuple
> maybe harmfull in some case such as counting will get more than count.
>
> We have tried a dedup code to avoid the harmness of duplicated tuple. Is it
> usefull for others? Or some other suggesstion to deal with duplicated tuple?
>
> --
> Best Regards!
>
> 肖康(Kang Xiao,<kxiao.ti...@gmail.com>)
> Distributed Software Engineer @ Baidu <http://www.baidu.com> Inc.
-Nathan
On Dec 14, 2:38 pm, 肖康(Kang Xiao) <kxiao.ti...@gmail.com> wrote:
> The message guranting api will call the spout's fail() interface to resend
> tuple if a tuple is timeout to avoid message lost. Resending a tuple in
> fail() may cause some bolt receive duplicated tuple. The duplicated tuple
> maybe harmfull in some case such as counting will get more than count.
>
> We have tried a dedup code to avoid the harmness of duplicated tuple. Is it
> usefull for others? Or some other suggesstion to deal with duplicated tuple?
>
> --
> Best Regards!
>
> 肖康(Kang Xiao,<kxiao.ti...@gmail.com>)
> Distributed Software Engineer @ Baidu <http://www.baidu.com> Inc.