Skip to content

Add converters for ECG and IRN data, and update exercise data parsing.#202

Open
this-Aditya wants to merge 5 commits into
update-converter-schemasfrom
ecg-irn
Open

Add converters for ECG and IRN data, and update exercise data parsing.#202
this-Aditya wants to merge 5 commits into
update-converter-schemasfrom
ecg-irn

Conversation

@this-Aditya

@this-Aditya this-Aditya commented Jun 25, 2026

Copy link
Copy Markdown
Member

This PR adds Avro converters for Google Health ECG and IRN data types and updates the existing exercise parser:

  • Added ElectrocardiogramGoogleHealthAvroConverter. To optimize for Kafka sink connectors, which handle large nested arrays poorly, this converter flattens the payload. A single ECG reading is parsed into 7,500 records (one per sample) rather than a single array.
  • Added an IRN converter utilizing the same flattening methodology for heartbeat data.
  • Updated the Exercise converter to ensure compatibility with the incoming Google Health API data structure.

@this-Aditya this-Aditya marked this pull request as draft June 25, 2026 14:11
@this-Aditya this-Aditya marked this pull request as ready for review June 25, 2026 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant