DataStream
, Table
, and SQL
APIs.
The Table
/SQL
connector allows S2 sources and sinks to be optionally configured with upsert-style semantics, similar to the Upsert Kafka Flink connector.
Example
The connector repo contains an example job demonstrating a real-time feature pipeline for an e-commerce usecase, which:- Listens for user actions being logged to a collection of S2 streams
- Extracts complex events from patterns of user actions within a rolling window
- Writes summary events to a S2 source
- Computes a streaming dynamic table containing a derived feature: the top query strings, per product, leading to a purchase