Lenses.io created this topic as part of the seeding process for our community
We have a Kafka topic named test, with a key type of string, and value type of JSON.
When we try to insert messages into a valid JSON message, like the one below, Lenses gives out the following error:
Cannot insert data. `TableName(test)` does not have a schema for the Value.
Starting with Lenses 5.0, we consciously decided to enforce schema validation for JSON-serialized keys and values, just like we do for their AVRO counterparts.
Whilst this choice may be inconvenient sometimes, it will protect you from inserting messages that can break your streaming pipelines or consumer code.
In your case, you must visit the Schema tab of the test topic and add a schema like the one below for the topic’s value field. The schema must be in AVRO format: