Trying to create a SQL Processor
SET defaults.topic.autocreate=true;
– When automatically creating topic(s) set non-default values
INSERT INTO orders_failed
SELECT STREAM * FROM airline-payments
WHERE paymentStatus = "Failed";
INSERT INTO orders_ok
SELECT STREAM * FROM airline-payments
WHERE paymentStatus != "Failed"
Getting the error that "SQL is invalid"
and the topic cannot be found:
The topic airline-payments can't be found in Kafka.
Please make sure that:
- airline-payments is a valid topic
- airline-payments has a registered Lenses Schema or Schema Registry schema (if AVRO)
- the current user has permissions to access this topic.
Yet this topic does exist, it has JSON serialization and I can browse the events in the Explore page.
What’s the issue?