This is an automated email from the ASF dual-hosted git repository.

penghui pushed a commit to branch branch-2.6
in repository https://gitbox.apache.org/repos/asf/pulsar.git

commit 0c736902313be5bdf98e1bf2cf6c0727b1f55f30
Author: penghui <[email protected]>
AuthorDate: Wed Jan 6 13:59:12 2021 +0800

    Fix branch-2.6 broken by advertisedAddress in ProxyConfiguration
---
 .../java/org/apache/pulsar/proxy/server/ProxyConfiguration.java     | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git 
a/pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/ProxyConfiguration.java
 
b/pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/ProxyConfiguration.java
index f6734a7..4e1c89f 100644
--- 
a/pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/ProxyConfiguration.java
+++ 
b/pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/ProxyConfiguration.java
@@ -137,6 +137,12 @@ public class ProxyConfiguration implements 
PulsarConfiguration {
     private String functionWorkerWebServiceURLTLS;
 
     @FieldContext(
+            category = CATEGORY_SERVER,
+            doc = "Hostname or IP address the service binds on"
+    )
+    private String bindAddress = "0.0.0.0";
+
+    @FieldContext(
         category = CATEGORY_SERVER,
         doc = "Hostname or IP address the service advertises to the outside 
world."
             + " If not set, the value of 
`InetAddress.getLocalHost().getCanonicalHostName()` is used."

Reply via email to