zyj5340 commented on issue #25138:
URL: https://github.com/apache/pulsar/issues/25138#issuecomment-3749371677

   It looks like they are defined as "static final".
   
https://github.com/apache/pulsar/blob/1b74fe07bd24e079434769de2c52222761d88ca1/pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/ParserProxyHandler.java
   `public class ParserProxyHandler extends ChannelInboundHandlerAdapter {
   
   
       //inbound
       protected static final String FRONTEND_CONN = "frontendconn";
       //outbound
       protected static final String BACKEND_CONN = "backendconn";
   
       private final String connType;
   
       private final int maxMessageSize;
       private final ChannelId peerChannelId;
       private final ProxyService service;
   
   
       /**
        * producerid + channelid as key.
        */
       private static final Map<String, String> producerHashMap = new 
ConcurrentHashMap<>();
   
       /**
        * consumerid + channelid as key.
        */
       private static final Map<String, String> consumerHashMap = new 
ConcurrentHashMap<>();`


-- 
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]

Reply via email to