CREATETABLEuser_behavior(user_idBIGINT,item_idBIGINT,category_idBIGINT,behaviorSTRING,tsTIMESTAMP(3))WITH('connector'='kafka','properties.bootstrap.servers'='localhost:9092','topic'='user_behavior','format'='avro-confluent','avro-confluent.schema-registry.url'='<a href="http://localhost:8081','avro-confluent.schema-registry.subject'='user_behavior'">http://localhost:8081','avro-confluent.schema-registry.subject'='user_behavior')
如上所示,我并不是想要知道如何在flink sql中连接confluent schema registry,而是想要通过catalog获取schema registry上对应topic的schema信息,以便我不需要手动输入那些fields字段,如同JdbcCatalog那样,直接使用已有表一样,我想直接使用topic,而不需要定义DDL
在 2020-12-15 00:34:03,"
[hidden email]" <
[hidden email]> 写道: