4.0

You are viewing documentation for an older version of Lenses.io View latest documentation here

In Process

Streaming SQL runs as Apache Kafka KStreams in memory Lenses’ memory space.

Set the execution configuration to IN_PROC

# Set up Lenses SQL processing engine
lenses.sql.execution.mode = "IN_PROC"

Set the directory to store the internal state of the SQL Processors:

lenses.sql.state.dir = "/tmp/lenses-sql-kstream-state"