Skip to content
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

Integrate snews-data-formats into snews-cs #130

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

justinvasel
Copy link
Contributor

@justinvasel justinvasel commented Nov 18, 2024

Nov 18, 2024: This currently incorporates snews-data-formats in the most minimal way possible.

There are still improvements that we will want to implement to make the code more readable and robust. For example, currently, snews_cs still passes messages into its own format checker class, which is unnecessary. Eventually we will want to eliminate that format checker entirely.

With this PR, snews_cs now expects to receive messages with binary blob contents from the kafka topic, rather than json blob contents. The binary blob contains the full snews message object as defined by snews-data-formats. Each snews message object is then passed throughout the system just as before.

Some message field names have changed. For example, _id is now id, times such as neutrino_time are now neutrino_time_utc, and t_bin_width is now t_bin_width_sec.

Resolves #132, #102

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DB table cached_heartbeats not found
1 participant