Hi,
I needed to create a stream for the sole purpose of create events per hour. I am trying to avoid the AVRO deserialization of the message for performance reasons. It looks like KSQLDB enforces a column. I tried:
CREATE STREAM stream_test WITH ( KAFKA_TOPIC = 'test_topic', VALUE_FORMAT = 'NONE');
CREATE STREAM stream_test (ROWTIME TIMESTAMP) WITH ( KAFKA_TOPIC = 'test_topic', VALUE_FORMAT = 'NONE');
Finally this is the only one that worked:
CREATE STREAM my_stream (eventKey VARCHAR KEY) WITH ( KAFKA_TOPIC = 'my_topic', VALUE_FORMAT = 'NONE');
However the topic does not have keys.
Is there any syntax for this case?