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'

Reply via email to