PostHog / plugin-server

Service to process and save PostHog events, supporting JS/TS plugins at that
https://posthog.com
8 stars 5 forks source link

Dead letter queue for ingestEvent #596

Closed yakkomajuri closed 2 years ago

yakkomajuri commented 2 years ago

Changes

Still WIP, putting this out only for visibility into what I'm working on.

Initially had a plan to expand the scope on this PR but actually putting it up for review now in the spirit of keeping PRs small and also because bigger issues have come up.

Essentially, there are other areas where the DLQ could be added, but this should be simple to do in subsequent PRs.

This PR covers ingestEvent, which is the most important path to add the queue to.

The change isn't too large, it's mostly just tests.

Checklist