You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/06/15 13:03:52 UTC

[GitHub] [pulsar] codelipenghui commented on a diff in pull request #15678: [improve][proxy] Support zero-copy of NIC to NIC on Proxy

codelipenghui commented on code in PR #15678:
URL: https://github.com/apache/pulsar/pull/15678#discussion_r897953042


##########
pulsar-proxy/src/test/resources/proxy.conf:
##########
@@ -60,6 +60,10 @@ advertisedAddress=
 # Enable or disable the HAProxy protocol.
 haProxyProtocolEnabled=false
 
+# Enables zero-copy transport of data across network interfaces using the splice system call.
+# Zero copy mode cannot be used when TLS is enabled or when proxyLogLevel is > 0.
+proxyZeroCopyModeEnabled=true

Review Comment:
   With this change, the test `ProxyServiceStarterTest` will only run with `proxyZeroCopyModeEnabled=true`, will not run with `proxyZeroCopyModeEnabled=false` again.



-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org