T363610 - Data QA issue for missing events when action = navigate
Description
When the app is first initialized, the client fetches stream configs and any events sourced from external links get dropped.
Cache the sourceconfig in the MetricsClient Java library during stream config fetch and expose a callback so that cached sourceconfig can get loaded when the app/library starts.
Acceptance Criteria
- Cache the source config during stream config fetch in a callback
- Cached source config can be passed in during initialization
- If stream config has not been received yet, then events should be enqueued, instead of dropped.
Required
- Unit/Integration tests?
- Documentation?
- Passed QA?