Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q 1 . Consider the following streams of events which are captured respectively as table and stream in ksqlDB . [ 1 + 2 +

Q1. Consider the following streams of events which are captured respectively as table and stream
in ksqlDB.[1+2+2+3=8]
Customer Stream
Order Stream
Time Key Value
1 O1{C1,50}
1 O3{C2,20}
1 O3{C2,30}
2 O1{C1,40}
3 O3{C2,10}
3 O2{C3,25}
a) What are the events present in the Order data stream at the end of time unit 3?
b) What are the events present in the Customer Table at the end of time unit 3?
c) What will be the result of left outer join of Customer stream with Order stream at end of time
unit 1?
Time Key Value
1 C1{cust1, A1}
1 C2{cust2, A2}
1 C3{cust3, A3}
2 C4{cust4, A4}
2 C1{cust1, AX}
3 C1{cust1, AY}
3 C3{cust1, AZ}

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Essential SQLAlchemy Mapping Python To Databases

Authors: Myers, Jason Myers

2nd Edition

1491916567, 9781491916568

More Books

Students also viewed these Databases questions