- 
                Notifications
    
You must be signed in to change notification settings  - Fork 113
 
Kafka upgrade #3600
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kafka upgrade #3600
Conversation
| 
           I have update the alarm server startup so that it will create and properly configure the kafka topics based on the config_name It basically does that things the  Note:  | 
    
        
          
                services/alarm-server/src/main/java/org/phoebus/applications/alarm/server/AlarmServerMain.java
              
                Outdated
          
            Show resolved
            Hide resolved
        
      There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea!
| 
           As for "The feature is documented", it's documented that you need to call   | 
    
| "\trestart - Re-load alarm configuration and restart.\n" + | ||
| "\tshutdown - Shut alarm server down and exit.\n"; | ||
| 
               | 
          ||
| private static void ensureKafkaTopics(String server, String topic, String kafka_props_file) throws Exception { | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The kafka_props_file argument is not used in this method.
        
          
                services/alarm-server/src/main/java/org/phoebus/applications/alarm/server/AlarmServerMain.java
          
            Show resolved
            Hide resolved
        
      There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All seems to work as expected.
But I've added some comments.
Checklist
Testing:
Documentation: