Parse openedx_logs in vector to look for the Updating course overview for <course_id> logs
Send this course_id to a service
Create a new service cairn-watchcourses that listens for incoming events from vector
Trigger importcoursedata script from cairn-watchcourses for the specific course whenever a course is published
Caveats
We utilize batch processing on the vector sinks with a timeout of 300 secs or batch size of 10 events. This means that changes to the course structure may take up to 5 minutes to show up in the superset dashboard.
Changes
Updating course overview for <course_id>
logscairn-watchcourses
that listens for incoming events from vectorimportcoursedata
script fromcairn-watchcourses
for the specific course whenever a course is publishedCaveats