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

lambdaliu commented on KAFKA-7120:
----------------------------------

Hi, I am a newbie. I want to get familiar with the contribution process by 
solve this issue.

We can add the path, method and body of the request to the message field of 
ConnectRestException to indicate which request can't be completed.

[~gwenshap] Do you think this is a suitable solution for this issue?

> When Connect throws CONFLICT error for REST requests, it will help to see 
> more details
> --------------------------------------------------------------------------------------
>
>                 Key: KAFKA-7120
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7120
>             Project: Kafka
>          Issue Type: Improvement
>          Components: KafkaConnect
>            Reporter: Gwen Shapira
>            Assignee: lambdaliu
>            Priority: Critical
>
> Right now, we throw:
> throw new ConnectRestException(Response.Status.CONFLICT.getStatusCode(),
>  "Cannot complete request because of a conflicting operation (e.g. worker 
> rebalance)");
> There's no information about WHICH request can't be completed. It will help 
> to know.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to