I am using a ksql-server on kubernetes using the confluent helm charts.
https://github.com/confluentinc/cp-helm-charts/tree/master/charts/cp-ksql-server
I modified the queries.sql file for my own personal use case. https://github.com/confluentinc/cp-helm-charts/blob/master/charts/cp-ksql-server/queries.sql
this is my query:
CREATE STREAM ksql_test WITH (kafka_topic='orders-topic', value_format='DELIMITED', partitions='1', replicas='3');
Once i deploy this pod, i get this error:
ERROR Failed to start KSQL Server with query file: /etc/ksql/queries/queries.sql (io.confluent.ksql.rest.server.StandaloneExecutor:124)
io.confluent.ksql.util.KsqlStatementException: statement does not define the schema and the supplied format does not support schema inference
Statement: CREATE STREAM ksql_test WITH (kafka_topic='orders-topic', value_format='DELIMITED', partitions='1', replicas='3');
No matter if I change the format to JSON, the error remains the same and i dont have schema for this topic.