Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ts_middleware
-
Story Points:2
-
Epic Link:
-
Sprint:TSSW Sprint - Aug 5 - Aug 17, TSSW Sprint - Aug 19 - Aug 31
-
Team:Telescope and Site
Description
Design the salobj to Kafka feeder and negotiate with Angelo Fausti and Jonathan Sick about details of the schema. I hope they will be willing to change the Avro schema to match the DDS topics.
Another point to discuss is to consider using the IDL or Python topic data classes, instead of the XML files, to create the Avro schema. However, unless doing such a change requires me to write some code, this is a side issue.
Figure out how to write unit tests for this code.
The product will be a preliminary implementation, not necessarily tested.
Attachments
Issue Links
- is triggering
-
DM-20911 Implement salobj to Kafka feeder
- Done
The basic design (as implemented in a preliminary implementation that has since been superseded by more complete code):
One detail: the TopicProducer contains an instance of lsst.ts.salobj.ReadTopic. We cannot use ControllerCommand to listen to commands because we cannot afford to have an ack sent when a command is received. We could use RemoteEvent and RemoteTelemetry for those topics, but it is simpler to treat all topics the same.