Brightspace Data Streams (July 2023)

Recommended Testing Procedures

«  Processing BDS Events   ·  [   home  ·   community   |   search  ·   index   ·  next   ·  previous   ]   ·  Support paths  »

Users may wish to perform some initial development and testing on their own local networks instead of adding the extra complication and cost of using AWS. Once you’re ready to move on to AWS, we recommend the following approach:

  1. Activate BDS on the Tenant ID you use for testing.

2. BDS will begin posting events to the testing site’s Kinesis stream, based on your interactions with the testing site’s version of Brightspace. You can use these events to test your event processing lambda.

3. To test your software for processing the Bucket, simply disable the Kinesis stream. BDS will then start writing events to the Bucket instead of the stream. It will also write a notification to the SNS topic once it detects that the Bucket is non-empty.

4. When you’re ready to go live, activate BDS on the Tenant ID you use for production, using exactly the same procedure that you used for activating your testing site.

Improving Your Software

AWS provides Lambda metrics to help you monitor the operations of your lambda function. These metrics may help you to detect and improve weaknesses in the lambda’s performance. For example, you can see if your throughput is being throttled because of concurrency limits or having too few shards in the Kinesis stream.

«  Processing BDS Events   ·  [   home  ·   community   |   search  ·   index   ·  next   ·  previous   ]   ·  Support paths  »