Aan de slagGa gratis aan de slag

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!

Deze oefening maakt deel uit van de cursus

Streaming Data with AWS Kinesis and Lambda

Cursus bekijken

Praktische interactieve oefening

Zet theorie om in actie met een van onze interactieve oefeningen.

Begin met trainen