Get startedGet started for free

Writing to a Firehose stream

Now that we have a stream created, we're going to write records to it.

vRg6A.png

File to edit

You will be editing the OBD2_sensors.py file in the editor. These will simulate the sensors on the vehicle.

Since we don't have actual vehicle sensors (or vehicles) on hand, we'll be simulating telemetry data from a CSV file. It's a good way to test before going to production. The dataframe is available in the vehicle_data variable.

Firehose Stream:

In the last exercise you created the gps-delivery-stream Firehose stream. That's what we'll write to!

Slides

Don't forget - you can always click on the slides icon in the top right to see the slides - they'll be pretty helpful!

This exercise is part of the course

Streaming Data with AWS Kinesis and Lambda

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise