[
https://issues.apache.org/jira/browse/KAFKA-7120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16529611#comment-16529611
]
ASF GitHub Bot commented on KAFKA-7120:
---------------------------------------
lambdaliu opened a new pull request #5317: KAFKA-7120: Add information to
indicate which connector resource request cannot be completed
URL: https://github.com/apache/kafka/pull/5317
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 PR add the path, method and body of the request to the message field of
ConnectRestException to indicate which request can't be completed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> 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)