Can we rely on Kafka file-writer messages for the live data reduction? #157
Replies: 4 comments 4 replies
-
Slightly unrelated, but from talking with Greg we also got the impression that the nexus-json-templates have some optional / empty fields that might or might not be populated depending on the mode of the run. Odin was mentioned as one instrument that has several modes and where the file will have fields that will be used only in some modes. In that case I guess the user will have to specify the mode that they are running the instrument in before they start the live data reduction view. |
Beta Was this translation helpful? Give feedback.
-
That will be ECDC's decision. I don't think it is.
Beamlime will subscribe to the Kafka topic, so it should get messages. Not sure I understand the question. |
Beta Was this translation helpful? Give feedback.
-
I still think that a user might want this, but your suggestion that it may not be possible is both valid and probably right. |
Beta Was this translation helpful? Give feedback.
-
ConclusionWe had a brief meeting with ECDC on the 08-03-2024 (Fri). In the current status, starting instrument will always trigger file-writing anyways but this behaviour may be changed in the future. |
Beta Was this translation helpful? Give feedback.
-
Me and @YooSunYoung talked with @g5t (Greg) about live data reduction and kafka messages.
He mentioned that it's likely that he as a user might want to run the instrument and view the live data reduction while not producing a file that is stored in Scicat.
I don't know enough to say if this is even possible, or if it even should be possible (I think it should not ;)). But since our live reduction approach will likely use file writing kafka messages such as
pl72_run_start.fbs
"File writing, run start message for file writer" to initiate the live data reduction, it seems like something we should investigate.In short, are the kafka messages that we depend on to do the live data reduction always emitted regardless of if the run is written to a file or not?
Beta Was this translation helpful? Give feedback.
All reactions