'KSQL coordinate multiple requests query through REST API from node
I am able to create multiple streams request using KSQL rest api (POST /ksql) . My doubt is am following the first method like have single line query which has two create statements .eg ksql code below
{
"ksql": "CREATE STREAM pageviews_home AS SELECT * FROM pageviews_original WHERE pageid='home'; CREATE TABLE pageviews_home_count AS SELECT userid, COUNT(*) FROM pageviews_home GROUP BY userid EMIT CHANGES;"
}
Does this method leads issue when we have many number of call happens? . There is one more way achieve above process using commandSequenceNumber . I am confused which one is best. Kindly suggest which is best way todo it. My node app having many users will use the above create stream process. Advance thanks.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
