Home / Companies / Confluent / Blog / Post Details
Content Deep Dive

I’ve Got the Key, I’ve Got the Secret. Here’s How Keys Work in ksqlDB 0.10.

Blog post from Confluent

Post Details
Company
Date Published
Author
Andy Coates
Word Count
5,391
Company Posts That Month
14
Language
English
Hacker News Points
-
Post removed?
No
Summary

ksqlDB 0.10 introduces major updates to key management, enhancing support for multiple key columns and formats like Avro, JSON, and Protobuf. In this version, both tables and streams in ksqlDB manage keys uniquely: tables have a PRIMARY KEY for unique row identification, while streams can declare a KEY column without inferring uniqueness. This update removes the confusing WITH(KEY) syntax, allowing users to name key columns freely and eliminating the need to duplicate keys in Kafka record values. Streams are now supported without key columns, though this may necessitate data repartitioning for operations like joins and aggregations. The new AS_VALUE function allows users to replicate the previous behavior of copying keys into values when necessary. Key column naming has been refined, and users must now explicitly include key columns in projections, impacting materialized views and joins. These changes, while not backward compatible, aim to provide a more intuitive and expressive framework for managing data in Kafka.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 2 687 243 78 +6%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.