You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by vishnu murali <vi...@gmail.com> on 2020/05/20 09:28:54 UTC
SFTP config Details as a JSON
Hey Guys,
one of the value for SFTP configuration is key.schema.
i am giving through postman as a json request
So how can i give the schema details ,Because it is having DoubleQuotes For
all key and value?
could anyone explain?
if i give like this this exception is coming.
"key.schema":
"{schema:{type:struct,fields:],optional:false,name:defaultkeyschemaname},payload:{}}",
*Exception:*
org.apache.kafka.common.config.ConfigException: Invalid value
com.fasterxml.jackson.core.JsonParseException: Unexpected character ('s'
(code 115)): was expecting double-quote to start field name
at [Source:
(String)"{schema:{type:struct,fields:[],optional:false,name:defaultkeyschemaname},payload:{}}";
line: 1, column: 3] for configuration Could not read schema from
'key.schema'