[jira] [Updated] (KAFKA-5052) We shouldn't pass the underlying exception to RetriableCommitFailedException when an async offset commit fails.

2017-06-13 Thread Apurva Mehta (JIRA)

 [ 
https://issues.apache.org/jira/browse/KAFKA-5052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apurva Mehta updated KAFKA-5052:

Description: 
* This is a follow up to : https://issues.apache.org/jira/browse/KAFKA-3527

We currently wrap retriable exceptions encountered during offset commits in a 
`RetriableOffsetCommitException`. The problem is that today we also pass the 
underlying internal exception on to the user. There isn't a really good reason 
to do this, since the user will not handle each individual exception 
differently: they will just retry anyway.

We should not pass on the underlying internal exception. It makes the API 
simpler, and also allows us to change things underneath with more flexibility.

  was:
This is a follow up to : https://issues.apache.org/jira/browse/KAFKA-3527

We currently wrap retriable exceptions encountered during offset commits in a 
`RetriableOffsetCommitException`. The problem is that today we also pass the 
underlying internal exception on to the user. There isn't a really good reason 
to do this, since the user will not handle each individual exception 
differently: they will just retry anyway.

We should not pass on the underlying internal exception. It makes the API 
simpler, and also allows us to change things underneath with more flexibility.


> We shouldn't pass the underlying exception to RetriableCommitFailedException 
> when an async offset commit fails.
> ---
>
> Key: KAFKA-5052
> URL: https://issues.apache.org/jira/browse/KAFKA-5052
> Project: Kafka
>  Issue Type: Improvement
>Reporter: Apurva Mehta
>Assignee: Apurva Mehta
> Fix For: 0.11.0.0
>
>
> * This is a follow up to : https://issues.apache.org/jira/browse/KAFKA-3527
> We currently wrap retriable exceptions encountered during offset commits in a 
> `RetriableOffsetCommitException`. The problem is that today we also pass the 
> underlying internal exception on to the user. There isn't a really good 
> reason to do this, since the user will not handle each individual exception 
> differently: they will just retry anyway.
> We should not pass on the underlying internal exception. It makes the API 
> simpler, and also allows us to change things underneath with more flexibility.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (KAFKA-5052) We shouldn't pass the underlying exception to RetriableCommitFailedException when an async offset commit fails.

2017-04-10 Thread Ismael Juma (JIRA)

 [ 
https://issues.apache.org/jira/browse/KAFKA-5052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ismael Juma updated KAFKA-5052:
---
Fix Version/s: 0.11.0.0

> We shouldn't pass the underlying exception to RetriableCommitFailedException 
> when an async offset commit fails.
> ---
>
> Key: KAFKA-5052
> URL: https://issues.apache.org/jira/browse/KAFKA-5052
> Project: Kafka
>  Issue Type: Improvement
>Reporter: Apurva Mehta
>Assignee: Apurva Mehta
> Fix For: 0.11.0.0
>
>
> This is a follow up to : https://issues.apache.org/jira/browse/KAFKA-3527
> We currently wrap retriable exceptions encountered during offset commits in a 
> `RetriableOffsetCommitException`. The problem is that today we also pass the 
> underlying internal exception on to the user. There isn't a really good 
> reason to do this, since the user will not handle each individual exception 
> differently: they will just retry anyway.
> We should not pass on the underlying internal exception. It makes the API 
> simpler, and also allows us to change things underneath with more flexibility.



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


[jira] [Updated] (KAFKA-5052) We shouldn't pass the underlying exception to RetriableCommitFailedException when an async offset commit fails.

2017-04-10 Thread Ismael Juma (JIRA)

 [ 
https://issues.apache.org/jira/browse/KAFKA-5052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ismael Juma updated KAFKA-5052:
---
Description: 
This is a follow up to : https://issues.apache.org/jira/browse/KAFKA-3527

We currently wrap retriable exceptions encountered during offset commits in a 
`RetriableOffsetCommitException`. The problem is that today we also pass the 
underlying internal exception on to the user. There isn't a really good reason 
to do this, since the user will not handle each individual exception 
differently: they will just retry anyway.

We should not pass on the underlying internal exception. It makes the API 
simpler, and also allows us to change things underneath with more flexibility.

  was:
This is a follow up to : https://issues.apache.org/jira/browse/KAFKA-3527

We currently wrap retriable exceptions encountered during offset commits in a 
`RetriableOffsetCommitException`. The problem is that today we also pass the 
underlying exception on to the user. There isn't a really good reason to do 
this, since the user will not handle each individual exception differently: 
they will just retry anyway.

We should not pass on the underlying exception. It makes the API simpler, and 
also allows us to change things underneath with more flexibility.


> We shouldn't pass the underlying exception to RetriableCommitFailedException 
> when an async offset commit fails.
> ---
>
> Key: KAFKA-5052
> URL: https://issues.apache.org/jira/browse/KAFKA-5052
> Project: Kafka
>  Issue Type: Improvement
>Reporter: Apurva Mehta
>Assignee: Apurva Mehta
>
> This is a follow up to : https://issues.apache.org/jira/browse/KAFKA-3527
> We currently wrap retriable exceptions encountered during offset commits in a 
> `RetriableOffsetCommitException`. The problem is that today we also pass the 
> underlying internal exception on to the user. There isn't a really good 
> reason to do this, since the user will not handle each individual exception 
> differently: they will just retry anyway.
> We should not pass on the underlying internal exception. It makes the API 
> simpler, and also allows us to change things underneath with more flexibility.



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