Re: NoMatchingTableFactoryException when test flink sql with kafka in flink 1.7

2019-01-15 Thread Joshua Fan
Hi Zhenghua Yes, the topic is polluted somehow. After I create a new topic to consume, It is OK now. Yours sincerely Joshua On Tue, Jan 15, 2019 at 4:28 PM Zhenghua Gao wrote: > May be you're generating non-standard JSON record. > > > > -- > Sent from: > http://apache-flink-user-mailing-list-a

Re: NoMatchingTableFactoryException when test flink sql with kafka in flink 1.7

2019-01-15 Thread Zhenghua Gao
May be you're generating non-standard JSON record. -- Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/

Re: NoMatchingTableFactoryException when test flink sql with kafka in flink 1.7

2019-01-11 Thread Joshua Fan
Hi Timo Thank you for your advice. It is truely a typo. After I fix it, the same exception remains. But when I add the inAppendMode() to the StreamTableDescriptor, the exception disappears, and it can find the proper kafka08factory. And another exception turns out. Caused by: org.apache.flink.sh

Re: NoMatchingTableFactoryException when test flink sql with kafka in flink 1.7

2019-01-11 Thread Timo Walther
Hi Jashua, according to the property list, you passed "connector.version=0.10" so a Kafka 0.8 factory will not match. Are you sure you are compiling the right thing? There seems to be a mismatch between your screenshot and the exception. Regards, Timo Am 11.01.19 um 15:43 schrieb Joshua Fa

NoMatchingTableFactoryException when test flink sql with kafka in flink 1.7

2019-01-11 Thread Joshua Fan
Hi, I want to test flink sql locally by consuming kafka data in flink 1.7, but it turns out an exception like below. Exception in thread "main" >> org.apache.flink.table.api.NoMatchingTableFactoryException: Could not find >> a suitable table factory for >> 'org.apache.flink.table.factories.Stream