ccsd / ledbelly Goto Github PK
View Code? Open in Web Editor NEWLEDbelly - Live Events Daemon for Canvas LMS - SQS to SQL
License: MIT License
LEDbelly - Live Events Daemon for Canvas LMS - SQS to SQL
License: MIT License
LED creates an additional field called event_time_local in comparison to event_time which is in UTC. I would like to force all timestamp values to be local.
this
Time.parse(body['created_at']).utc.strftime(TIME_FORMAT).to_s
becomes
Time.parse(body['created_at']).utc.localtime.strftime(TIME_FORMAT).to_s
This would be similar to how I'm converting all timestamps to local timezone for our Canvas Data using Embulk. This saves on converting timestamps in SQL queries.
Since this affects all current users, I'm opening this up for discussion.
https://community.canvaslms.com/docs/DOC-15774-payload-example-usercreated
https://community.canvaslms.com/docs/DOC-15775-payload-example-userupdated
On Wednesday October 9, these 2 events will have the user_login
and user_sis_id
added to the body of the event message, these 2 fields already exist in the meta data.
Keeping with other duplicate field names between meta and body, I'll be releasing an update that adds the _meta suffix to the field names in the meta collection.
https://github.com/ccsd/ledbelly/blob/master/src/events/canvas_raw.rb#L31 and 32
The field values sent with meta data here, are the actor (user making the change), while the body values are that of the affected user.
I plan to release:
updates to the canvas raw parser
updates to the canvas raw schema
a way to easily update your database to reflect the changes.
These events will be deprecated per Release Notes...
I see no reason to clean this up before the release, and will deprecate the schema/parser after the release date.
Group Events Deprecations
Events in the following groups have been deprecated and will be removed on 2020-02-18:Quizzes Next Quiz
Quizzes.item
Quizzes.quiz Clone Job
Quizzes.quiz
Quizzes.quiz Session
Quizzes.qti Import
Quizzes-lti.grade
There's an issue with the DB being disconnected after the timeout, if the stream is delayed or inactive long enough for the DB timeout to expire. Increasing the timeout can help if you identify the length of the idle window. I will be working on a fix to reestablish a connection if the connection has timed out before attempting to insert a row.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.