Skip to content
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

Documentation: More advance KSQL examples? #940

Open
rburton opened this issue Mar 14, 2018 · 0 comments
Open

Documentation: More advance KSQL examples? #940

rburton opened this issue Mar 14, 2018 · 0 comments

Comments

@rburton
Copy link

rburton commented Mar 14, 2018

I'm currently trying to find some examples to help me wrap my head around KSQL and how to handle various scenarios.

A few scenarios I'm curious about are:

Event Design: EventStream(user string, eventName string)

  1. Detecting if multiple events happen within a current timeframe. e.g., if a user registers and updates their profile within 30 days

  2. How to detect of a sequence of events occurred in order over a timeframe. e.g., a user logins then the next event is 'invite friend' within 24 hours

  3. How would you detect if an event happens multiple times and another event also happened within in a timeframe? e.g., a user logins 3 times and also a forgot password event occurred.

Mentally, I struggle with how to design for these scenarios. e.g., would I have to create tables based on a timeframe and using counts and join that against a stream?

I feel like more "complex" examples would help developers better understand what KSQL do for them and also how to start composing their own custom complex queries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants