Open jbrooks-stripe opened 3 months ago
This changes things such that a new instance of the AvroCodec is used instead of re-using the same one across requests.
To log feature values for the consistency pipeline, we use AvroCodec to encode and hash keys, but the Avro encoding here is not thread safe.
Ah missed this, I will fix it in https://github.com/airbnb/chronon/pull/857!
Summary
This changes things such that a new instance of the AvroCodec is used instead of re-using the same one across requests.
Why / Goal
To log feature values for the consistency pipeline, we use AvroCodec to encode and hash keys, but the Avro encoding here is not thread safe.
Test Plan
Checklist
Reviewers