You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ksql> CREATE STREAM FOO2 (KEY_COL VARCHAR, COL1 INT, COL2 VARCHAR)
> WITH (KAFKA_TOPIC='FOO2', PARTITIONS=1, REPLICAS=1, KEY_FORMAT='AVRO', VALUE_FORMAT='AVRO');
Schema for message keys on topic FOO2 does not exist in the Schema Registry.Subject: FOO2-key
Possible causes include:
- The topic itself does not exist -> Use SHOW TOPICS; to check
- Messages on the topic are not serialized using a format Schema Registry supports -> Use PRINT 'FOO2' FROM BEGINNING; to verify
- Messages on the topic have not been serialized using a Confluent Schema Registry supported serializer -> See https://docs.confluent.io/current/schema-registry/docs/serializer-formatter.html
- The schema is registered on a different instance of the Schema Registry -> Use the REST API to list available subjects https://docs.confluent.io/current/schema-registry/docs/api.html#get--subjects
- You do not have permissions to access the Schema Registry.Subject: FOO2-key -> See https://docs.confluent.io/current/schema-registry/docs/security.html
ksql> CREATE STREAM FOO2 (KEY_COL VARCHAR, COL1 INT, COL2 VARCHAR)
> WITH (KAFKA_TOPIC='FOO2', PARTITIONS=1, REPLICAS=1, FORMAT='AVRO');
Schema for message keys on topic FOO2 does not exist in the Schema Registry.Subject: FOO2-key
Possible causes include:
- The topic itself does not exist -> Use SHOW TOPICS; to check
- Messages on the topic are not serialized using a format Schema Registry supports -> Use PRINT 'FOO2' FROM BEGINNING; to verify
- Messages on the topic have not been serialized using a Confluent Schema Registry supported serializer -> See https://docs.confluent.io/current/schema-registry/docs/serializer-formatter.html
- The schema is registered on a different instance of the Schema Registry -> Use the REST API to list available subjects https://docs.confluent.io/current/schema-registry/docs/api.html#get--subjects
- You do not have permissions to access the Schema Registry.Subject: FOO2-key -> See https://docs.confluent.io/current/schema-registry/docs/security.html
The text was updated successfully, but these errors were encountered:
@rmoff the first one assumes a NONE key format because there are no key columns; AVRO doesn't support a key with no fields at the moment. I believe if you issued:
ksqlDB 0.15
Creating a new steam with new topic and Avro value works:
But if I try to use Avro for the key it fails
The text was updated successfully, but these errors were encountered: