chia7712 commented on code in PR #16067:
URL: https://github.com/apache/kafka/pull/16067#discussion_r1619506272
##########
core/src/test/java/kafka/server/handlers/DescribeTopicPartitionsRequestHandlerTest.java:
##########
@@ -105,12 +106,12 @@ public KafkaPrincipal deserialize(byte[] bytes) throws
SerializationException {
UpdateMetadataBroker broker = new UpdateMetadataBroker()
.setId(0)
.setRack("rack")
- .setEndpoints(Arrays.asList(
- new UpdateMetadataRequestData.UpdateMetadataEndpoint()
- .setHost("broker0")
- .setPort(9092)
- .setSecurityProtocol(SecurityProtocol.PLAINTEXT.id)
- .setListener(plaintextListener.value())
+ .setEndpoints(Collections.singletonList(
+ new UpdateMetadataRequestData.UpdateMetadataEndpoint()
Review Comment:
Could you please revert those unrelated changes to reduce the size of PR?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]