You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2020/07/16 11:52:06 UTC
[GitHub] [kafka] rajinisivaram opened a new pull request #9030: MINOR: Filter out quota configs for ConfigCommand using --bootstrap-server
rajinisivaram opened a new pull request #9030:
URL: https://github.com/apache/kafka/pull/9030
### Committer Checklist (excluded from commit message)
- [ ] Verify design and implementation
- [ ] Verify test coverage and CI build status
- [ ] Verify documentation (including upgrade notes)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [kafka] rondagostino commented on a change in pull request #9030: MINOR: Filter out quota configs for ConfigCommand using --bootstrap-server
Posted by GitBox <gi...@apache.org>.
rondagostino commented on a change in pull request #9030:
URL: https://github.com/apache/kafka/pull/9030#discussion_r455792482
##########
File path: clients/src/main/java/org/apache/kafka/common/requests/DescribeClientQuotasResponse.java
##########
@@ -66,10 +66,11 @@ public DescribeClientQuotasResponse(Map<ClientQuotaEntity, Map<String, Double>>
}
public DescribeClientQuotasResponse(int throttleTimeMs, Throwable e) {
+ ApiError apiError = ApiError.fromThrowable(e);
Review comment:
Should the same thing happen in `public AlterClientQuotasResponse(Collection<ClientQuotaEntity> entities, int throttleTimeMs, Throwable e)` for consistency? And also maybe in `IncrementalAlterConfigsResponse` (`public static IncrementalAlterConfigsResponseData toResponseData`)?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [kafka] rajinisivaram commented on a change in pull request #9030: MINOR: Filter out quota configs for ConfigCommand using --bootstrap-server
Posted by GitBox <gi...@apache.org>.
rajinisivaram commented on a change in pull request #9030:
URL: https://github.com/apache/kafka/pull/9030#discussion_r455916021
##########
File path: clients/src/main/java/org/apache/kafka/common/requests/DescribeClientQuotasResponse.java
##########
@@ -66,10 +66,11 @@ public DescribeClientQuotasResponse(Map<ClientQuotaEntity, Map<String, Double>>
}
public DescribeClientQuotasResponse(int throttleTimeMs, Throwable e) {
+ ApiError apiError = ApiError.fromThrowable(e);
Review comment:
@rondagostino Thanks for the review. Updated `AlterClientQuotasResponse`. I think IncrementalAlterConfigsResponse is ok since it uses ApiError, we create the error with the right message when converting from Throwable. Can you just verify that the method with ApiError was the one you meant? Thanks,
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [kafka] rajinisivaram commented on pull request #9030: MINOR: Filter out quota configs for ConfigCommand using --bootstrap-server
Posted by GitBox <gi...@apache.org>.
rajinisivaram commented on pull request #9030:
URL: https://github.com/apache/kafka/pull/9030#issuecomment-659938953
@dajac @rondagostino @omkreddy Thanks for the review, merging to trunk, 2.6 and 2.5.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [kafka] dajac commented on a change in pull request #9030: MINOR: Filter out quota configs for ConfigCommand using --bootstrap-server
Posted by GitBox <gi...@apache.org>.
dajac commented on a change in pull request #9030:
URL: https://github.com/apache/kafka/pull/9030#discussion_r455745104
##########
File path: clients/src/test/java/org/apache/kafka/common/requests/RequestResponseTest.java
##########
@@ -197,18 +197,20 @@
public class RequestResponseTest {
+ private UnknownServerException unknownServerException = new UnknownServerException("secret");
Review comment:
nit: I would add a small comment to explain why we do this here.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [kafka] rajinisivaram commented on a change in pull request #9030: MINOR: Filter out quota configs for ConfigCommand using --bootstrap-server
Posted by GitBox <gi...@apache.org>.
rajinisivaram commented on a change in pull request #9030:
URL: https://github.com/apache/kafka/pull/9030#discussion_r455916169
##########
File path: clients/src/test/java/org/apache/kafka/common/requests/RequestResponseTest.java
##########
@@ -197,18 +197,20 @@
public class RequestResponseTest {
+ private UnknownServerException unknownServerException = new UnknownServerException("secret");
Review comment:
@dajac Thanks for the review, added comment.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [kafka] rajinisivaram merged pull request #9030: MINOR: Filter out quota configs for ConfigCommand using --bootstrap-server
Posted by GitBox <gi...@apache.org>.
rajinisivaram merged pull request #9030:
URL: https://github.com/apache/kafka/pull/9030
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org