Confluent

SQL Changes and Key Columns in ksqlDB 0.10 Explained

Jul 31, 2020Andy Coates
SQL Changes and Key Columns in ksqlDB 0.10 Explained
SummaryAI, from the source post

Introduces significant changes to ksqlDB's key handling in version 0.10, including the removal of implicit ROWKEY columns and the WITH(key='ID') syntax. Users can now explicitly name key columns for both tables (PRIMARY KEY) and streams (KEY), directly mapping to Kafka record keys without requiring data duplication in the value. This simplifies queries and improves performance by avoiding unnecessary repartitions.

More from the Stream Processing Fundamentals trail