Open Aaronzk opened 3 years ago
@Aaronzk
This part of documentation is misleading and the code is quite discrete. I also met this problem recently, I think we need to either change the doc or update the code you mentioned to make it handles all options properly
Describe the bug when using SQL to read Pulsar following the README.md
I met a Exception like this
To Reproduce
my version is 1.12.4.6
Expected behavior I think the documentation is not accurate in this part
Configuration parameters
. The right config format is like thisAfter checking the source code, I found the javadoc of class
org.apache.flink.table.descriptors.DescriptorProperties
if you use a upper case,it will transform
key
into lower case.This makes it impossible for
ConfigurationDataUtils
to read configurations into classorg.apache.pulsar.client.impl.conf.ReaderConfigurationData
usingObjectMapper
.For those who are also experiencing this problem By the way, how are the keys separated by '-' converted to Camal case? It hadppends in
org.apache.flink.streaming.connectors.pulsar.table.PulsarTableOptions