k.table.api.ValidationException: Could not find
>>>> the required schema in property 'schema'.
>>>>at
>>>> org.apache.flink.table.descriptors.SchemaValidator.validate(SchemaValidator.java:90)
>>>>at
>>>> org.apache.fli
bleSourceFactory.java:49)
>>> at
>>> org.apache.flink.table.factories.TableFactoryUtil.findAndCreateTableSource(TableFactoryUtil.java:53)
>>> ... 13 more
>>>
>>>
>>> During handling of the above exception, another exception occurred:
>>&g
link/table/descriptors.py",
>> line 1295, in register_table_source
>> self._j_connect_table_descriptor.registerTableSource(name)
>> File
>> "/home/manas/anaconda3/envs/flink_env/lib/python3.7/site-packages/py4j/java_gateway.py",
>> line 1286, in __c
what's
> wrong with the schema. Is the schema not properly declared? Is some field
> missing?
>
> FWIW I have included the JSON and kafka connector JARs in the required
> location.
>
>
> Regards,
> Manas
>
>
> On Tue, Jun 30, 2020 at 11:58 AM Manas Kale
ead kafka
>> data. Besides, You can refer to the common questions about PyFlink[3]
>>
>> [1]
>> https://ci.apache.org/projects/flink/flink-docs-release-1.10/dev/table/sql/create.html#run-a-create-statement
>> [2]
>> https://ci.apache.org/projects/flink/flink-docs-rele
t; I want to consume and write to Kafak from Flink's python API.
>>
>> The only way I found to do this was through this
>> <https://stackoverflow.com/questions/52744277/apache-flink-kafka-connector-in-python-streaming-api-cannot-load-user-class>
>> question
&g
.html
Best,
Xingbo
Manas Kale 于2020年6月29日周一 下午8:10写道:
> Hi,
> I want to consume and write to Kafak from Flink's python API.
>
> The only way I found to do this was through this
> <https://stackoverflow.com/questions/52744277/apache-flink-kafka-connector-in-python-streamin
Hi,
I want to consume and write to Kafak from Flink's python API.
The only way I found to do this was through this
<https://stackoverflow.com/questions/52744277/apache-flink-kafka-connector-in-python-streaming-api-cannot-load-user-class>
question
on SO where the user essentially copies
Hi Kostas,
As far as I know you cannot just use java classes from within python
API. I think Python API does not provide wrapper for kafka connector. I
am adding Chesnay to cc to correct me if I am wrong.
Best,
Dawid
On 11/10/18 12:18, Kostas Evangelou wrote:
> Hey all,
>
> Thank you so much
Hey all,
Thank you so much for your efforts. I've already posted this question on
stack overflow, but thought I should ask here as well.
I am trying out Flink's new Python streaming API and attempting to run my
script with ./flink-1.6.1/bin/pyflink-stream.sh examples/read_from_kafka.py.
The pytho
10 matches
Mail list logo