You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Apurva Mehta (JIRA)" <ji...@apache.org> on 2017/05/18 17:51:04 UTC

[jira] [Commented] (KAFKA-5033) Reconsider default retries for idempotent producer

    [ https://issues.apache.org/jira/browse/KAFKA-5033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16016152#comment-16016152 ] 

Apurva Mehta commented on KAFKA-5033:
-------------------------------------

A default of `MAX_INT` seems reasonable here.

> Reconsider default retries for idempotent producer
> --------------------------------------------------
>
>                 Key: KAFKA-5033
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5033
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: clients, core, producer 
>            Reporter: Ismael Juma
>            Assignee: Apurva Mehta
>              Labels: exactly-once
>             Fix For: 0.11.0.0
>
>
> We currently set the default to 3 if idempotence is enabled. There was a brief discussion in the PR, but it would be good to explain this choice in more detail. Namely, what cases are we trying to cover with this number and have we considered the fact that with the default retry backoff of 100ms, 3 retries are used pretty quickly.
> Is there a downside in using a larger retry count?
> cc [~apurva]



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)