nodece commented on code in PR #19141:
URL: https://github.com/apache/pulsar/pull/19141#discussion_r1063076775
##########
pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/LookupProxyHandler.java:
##########
@@ -446,5 +447,9 @@ private ServerError getServerError(Throwable error) {
return responseError;
}
+ private void writeAndFlushVoidPromise(ByteBuf cmd) {
+ proxyConnection.ctx().writeAndFlush(cmd);
Review Comment:
```suggestion
ChannelHandlerContext ctx = proxyConnection.ctx();
ctx.writeAndFlush(cmd, ctx.voidPromise());
```
--
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]