Skip to content

feat: foundation of an event processor #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 37 commits into from
Apr 13, 2023

Conversation

cwaldren-ld
Copy link
Contributor

@cwaldren-ld cwaldren-ld commented Apr 10, 2023

This PR introduces the architecture of an event processor that can be extended to work with both client and server SDKs.

I figure this is a good stopping point for a PR, even though it isn't fully functional - mostly because the size is becoming unwieldy.

What's not implemented:

  • HTTP POST to deliver the events. This is kinda tricky since we need plaintext and TLS, and also connection pooling would be nice.
  • Summarizing. This should will be a followup PR.
  • Context key deduplicating (not needed till we make the server SDK)

There is much to improve upon. The existing (few) tests are more like basic sanity checks just to ensure the components work together - I'd like to have some better ones, but also rely on the contract tests.

@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #194283: Implement common Event processor.

@cwaldren-ld cwaldren-ld force-pushed the cw/sc-194283/event-processor branch from 36d3700 to 431c519 Compare April 10, 2023 21:20
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.

2 participants