-
Notifications
You must be signed in to change notification settings - Fork 2
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
Include igwn notices in JSON loop #175
base: main
Are you sure you want to change the base?
Conversation
@@ -106,7 +106,7 @@ def kafka_message_to_email(message): | |||
maintype="application", | |||
subtype="xml", | |||
) | |||
elif topic.startswith("gcn.notices."): | |||
elif topic.startswith("gcn.notices.") or topic.startswith("igwn."): |
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.
Note that you need to subscribe to the topic as well in subscribe_to_topics
.
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 catch, added in latest commit
Crap. I remember why we hadn't pushed ahead on this. The IGWN alerts are only public on production. This work is blocked until we model the Kafka ACL permissions. |
Ah gotcha. What all is needed for modeling the ACL permissions? I started doing some work a while ago to add some of the group functionality to the website: nasa-gcn/gcn.nasa.gov#1879 |
Resolves #174