Write a Python function parse_kafka_stream(raw_events) that parses a list of raw JSON strings, flattens the nested reading object into top-level keys temp and humidity, and returns a list of normalized flat dictionaries.
Ready to take your skills to the next level? Enroll in our comprehensive Data Analyst Career Track to master SQL, Python, Excel, and Power BI.
Run your code to see the result here.