3pacccccc opened a new pull request, #25920:
URL: https://github.com/apache/pulsar/pull/25920

    ### Motivation
                                                                                
                                                                                
                                                                       
     `ServerCnx` handles several scalable topic commands and sessions, but the 
scalable topic related code used a mix of fully qualified class names and 
imported types. This made the code harder to scan and inconsistent with the   
     surrounding style.                                                         
                                                                                
                                                                       
                                                                                
                                                                                
                                                                       
     ### Modifications                                                          
                                                                                
                                                                       
                                                                                
                                                                                
                                                                       
     This PR cleans up scalable topic related type references in `ServerCnx` 
by:                                                                             
                                                                          
   
     - Adding imports for scalable topic session classes and proto command/type 
classes.                                                                        
                                                                       
     - Replacing fully qualified scalable topic class references with imported 
type names.                                                                     
                                                                        
     - Replacing fully qualified `ConcurrentHashMap` usage with the existing 
imported type.                                                                  
                                                                          
                                                                                
                                                                                
                                                                       
     There is no behavior change.                                               
                                                                                
                                                                       
                                                                                
                                                                                
                                                                       
     ### Verifying this change                                                  
                                                                                
                                                                       
                                                                                
                                                                                
                                                                       
     - [ ] Make sure that the change passes the CI checks.                      
                                                                                
                                                                       
                                                                                
                                                                                
                                                                       
     This change is a trivial rework / code cleanup without any test coverage.  
                                                                                
                                                                       
                                                                                
                                                                                
                                                                       
     ### Does this pull request potentially affect one of the following parts:  
                                                                                
                                                                       
                                                                                
                                                                                
                                                                       
     - [ ] Dependencies (add or upgrade a dependency)
     - [ ] The public API                                                       
                                                                                
                                                                       
     - [ ] The schema                                                           
                                                                                
                                                                       
     - [ ] The default values of configurations                                 
                                                                                
                                                                       
     - [ ] The threading model                                                  
                                                                                
                                                                       
     - [ ] The binary protocol                                                  
                                                                                
                                                                       
     - [ ] The REST endpoints                                                   
                                                                                
                                                                       
     - [ ] The admin CLI options                                                
                                                                                
                                                                       
     - [ ] The metrics                                                          
                                                                                
                                                                       
     - [ ] Anything that affects deployment 


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