You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
unmarshal=csv work just fine, I can see the java object on kafka.
but if I combine it with marshal=json-gson, I got this error
(org.apache.camel.processor.errorhandler.DefaultErrorHandler)
java.lang.IllegalStateException: IOException reading next record: java.io.IOException: (line 1) invalid char between encapsulated token and delimiter
at org.apache.commons.csv.CSVParser$CSVRecordIterator.getNextRecord(CSVParser.java:149)
at org.apache.commons.csv.CSVParser$CSVRecordIterator.hasNext(CSVParser.java:159)
could someone give me advise on this ?
The text was updated successfully, but these errors were encountered:
You cannot have unmarshal and marshal in the same connector configuration. If you want to do this you'll need to create your own SMT to transform from csv to JSON.
I try to ingest a csv file using camel sftp connector , parse the csv and turn it to json using this configuration
unmarshal=csv work just fine, I can see the java object on kafka.
but if I combine it with marshal=json-gson, I got this error
could someone give me advise on this ?
The text was updated successfully, but these errors were encountered: