When navigating to a Kafka topic, you can query existing data and the live stream. Lenses immediately presents a snapshot of the latest data in table browsing mode allowing:
When navigating to a topic you are automatically prompted to the data preview:
Data record inspection can be done via the quick filter or SQL editor. The result set is available in 2 different formats: Tree and Grid view. You can switch views from the right-hand icons.
Use the Download button to get the JSON representation of your messages in the result set.
Quick filtering
The quick filter provides an interactive way to filter data. Available filters include partitions, start offset or timestamp and limiting records returned.
Drill down to message
From the result set, you can drill down to the messsage to view the details:
Switch to live continuous query mode by selecting Live Sample.
To access the data in Kafka Topics, you can run Snapshot queries in the SQL Studio.
We recommend to go through the Lenses SQL documentation to follow the syntax guidelines and understand the Kafka semantics when querying data.
See Tips for querying Kafka Topics
In SQL Studio you get the ability to fire queries on demand for the data already stored in the Topic. However, if you want to continuously process data and react to data in real-time use the SQL Processors. SQL Processors are enabled by the LLenses SQL Streaming engine and create an application component which continuously reacts to events. You can transform, filter, enrich, join the data with streaming semantics, or use your UDFs and store the output in a new topic. Processors are leveraging streaming semantics and the Kafka Streams API to process the data.
On this page