Posts

Showing posts from January 26, 2019

ジレンマ (ネリーの曲)

Image
この項目では、ネリー featuring ケリー・ローランドの楽曲について説明しています。その他の用法については「ジレンマ (曖昧さ回避)」をご覧ください。 「 ジレンマ 」 ネリー featuring ケリー・ローランド の シングル 初出アルバム『ネリービル』 B面 Kings Highway リリース 2002年6月 ジャンル R&Bバラード、ヒ...

can I use KSQL to generate processing-time timeouts?

Image
0 I am trying to use KSQL to do whatever processing I can within a time limit and get the results at that time limit. See Timely (and Stateful) Processing with Apache Beam under "Processing Time Timers" for the same idea illustrated using Apache Beam. Given: A stream of transactions with unique keys; Updates to these transactions in the same stream; and A downstream processor that wants to receive the updated transactions at a specific timeout - say 20 seconds - after the transactions appeared in the first stream. Conceptually, I was thinking of creating a KTable of the first stream to hold the latest state of the transactions, and using KSQL to create an output stream by querying the KTable for keys with (create_time + timeout) < current_time. (and adding the timeouts as "updates" to the first stream so I could filter those out from the KTable) I haven't found a way to do this in the KSQL docs, and even if there were a built-in current_time, I...