Hi Ian
this: https://control-system-studio.readthedocs.io/en/latest/preference_properties.html#preference-settings
is an overview of all the preferences available for Phoebus, I like to use as a reference. Luckily, alarm is at the very top.
You need to preface the property with the package. So, create a settings file with:
org.phoebus.applications.alarm/server=your.host.com:9092
org.phoebus.applications.alarm/config_name=YourTopic
org.phoebus.applications.alarm/config_names=YourTopic, YourOtherTopic
and pass it to Phoebus with -settings your-settings.ini
Cheers,
Malte
Von: Tech-talk <tech-talk-bounces at aps.anl.gov> Im Auftrag von Ian Gillingham via Tech-talk
Gesendet: Dienstag, 28. Juni 2022 09:28
An: tech-talk at aps.anl.gov
Betreff: Phoebus connection to alarm server / Kafka
I have Phoebus , the Phoebus Alarm Server and associated Kafka server (and Zookeeper) initially running on the same Linux dev machine.
It works and Phoebus automatically connects to the running default Kafka topic 'Accelerator'.
I now need to modify it for my own requirements and have used the phoebus/app/alarm/examples/create_alarm_topics.sh script to create a new topic.
I will have Phoebus clients running on Windows machines (on the same network).
Is someone able to point me at the documentation as to where to edit Phoebus configuration to tell it which host:port to connect to for the alarm server (running on a single Linux box) and to change the Kafka topic? It's probably staring me in the face, but I can't find it.