ksqlDB
Stream processorksqldb
SQL streaming engine over Kafka Streams with persistent queries and materialized tables.
- Provider
- default
- Kind
- Stream processor
- Category
- Messaging
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| autoOffsetReset | enum | earliest | latest | no | latest | inherited |
| checkpointIntervalSeconds | integer | — | no | — | ▸ 2 |
| deploymentMode | enum | interactive | headless | no | interactive | inherited |
| exactlyOnce | boolean | — | no | false | ▸ false |
| instances | integer | — | no | — | inherited |
| lateDataPolicy | enum | drop | shift | sideline | no | — | inherited |
| managed | boolean | — | no | false | ▸ false |
| stateBackend | enum | memory | rocksdb | external | no | memory | ▸ rocksdb |
| streamThreads | integer | — | no | 4 | inherited |
| watermarkSeconds | integer | — | no | — | inherited |
| windowing | enum | none | event-time | processing-time | no | none | ▸ event-time |
Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.
windowed-aggregation-without-watermark
Event-time windows need a watermark to know when a window is complete. Without one the processor either waits forever or closes windows early and silently drops late events.
- — all of these hold:
- — the node's `windowing` is "event-time"
- — the node's `watermarkSeconds` has no value
nodes:
- { id: "ksqldb", component: "ksqldb" }Realtime Compute for Apache Flinkalibaba-flinkAmazon EventBridge Pipesaws-eventbridge-pipesAmazon Data Firehoseaws-firehoseAmazon Managed Service for Apache Flinkaws-managed-flinkAmazon OpenSearch Ingestionaws-opensearch-ingestionAzure Stream Analyticsazure-stream-analyticsCloudflare Logpushcloudflare-logpushCloudflare Pipelinescloudflare-pipelinesArroyoarroyoApache BeambeamBytewaxbytewaxDrasidrasiApache FlinkflinkKafka Streamskafka-streamsLogstashlogstashMaterializematerializeApache NiFinifiNorikranorikraRedpanda Connectredpanda-connectRisingWaverisingwaveApache SamzasamzaSnowplowsnowplowSpark Structured Streamingspark-streamingApache StormstormGeneric stream processorstream-processorTremortremorGoogle Cloud Dataflowgoogle-dataflowManufacturing Data Enginegoogle-manufacturing-data-engineActivity Tracker Event Routingibm-activity-tracker-event-routingIBM Cloud Logs Routingibm-logs-routingIBM Cloud Metrics Routingibm-metrics-routingOCI Connector Huboci-connector-hubOCI GoldenGate Stream Analyticsoci-goldengate-stream-analytics
# yaml-language-server: $schema=../../schema/component.schema.json # ksqlDB: SQL streaming engine over Kafka Streams. "The processing semantics to use for persistent # queries. The default is at_least_once", the commit interval defaults to 2000 ms, auto.offset.reset # defaults to latest and Confluent Platform runs 4 stream threads # ("Confluent Platform, ksqlDB Server configuration parameters"). State stores are RocksDB backed. schemaVersion: "1" type: "component" id: "ksqldb" kind: "stream-processor" provider: "default" docs: "https://docs.confluent.io/platform/current/ksqldb/reference/server-configuration.html" defaults: managed: false windowing: "event-time" checkpointIntervalSeconds: 2 exactlyOnce: false stateBackend: "rocksdb" properties: autoOffsetReset: type: "enum" values: ["earliest", "latest"] default: "latest" streamThreads: type: "integer" default: 4 deploymentMode: type: "enum" values: ["interactive", "headless"] default: "interactive"