You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/10/12 18:22:50 UTC
[GitHub] [camel-kafka-connector] hakidehari edited a comment on issue #1271: Salesforce Camel Kafka Source Connector not converting to JSON
hakidehari edited a comment on issue #1271:
URL: https://github.com/apache/camel-kafka-connector/issues/1271#issuecomment-941258031
Sorry I should have formatted my config above better. I am setting in the config the "camel.source.endpoint.rawPayload": "true" value. I am still seeing the same error though. @zregvart
Current config I tried looks like this
`{
"name": "sf_account_change_connector",
"config": {
"camel.source.endpoint.rawPayload": true,
"value.converter": "org.apache.kafka.connect.json.JsonConverter",
"value.converter.schemas.enable":false,
"key.converter.schemas.enable":false,
"key.converter":"org.apache.kafka.connect.storage.StringConverter",
"connector.class":"org.apache.camel.kafkaconnector.salesforce.CamelSalesforceSourceConnector",
"camel.component.salesforce.loginUrl":"https://salesforce-ajaxqa.dev.apigw.tds.net",
"camel.component.salesforce.instanceUrl":"https://salesforce-ajaxqa.dev.apigw.tds.net",
"topics": "CISL_SF_ASSET_INFO_INPUT",
"camel.source.path.topicName":"/data/AccountChangeEvent",
"camel.source.endpoint.replayId":"-1",
"camel.component.salesforce.authenticationType":"USERNAME_PASSWORD",
"camel.component.salesforce.clientId":"3MVG9Nc1qcZ7BbZ34NGzAh7Mzldmri.c2GdpNtmvs56iruS1XGHNR7RQW8sZupClNVB.b.tNw5wwLqMaOUQ83",
"camel.component.salesforce.clientSecret":"3D39905F807C908CB423204CAB4F42FAF65F91C0B245B0307CB1819F22F2C71F",
"camel.component.salesforce.password":"xKGBi752upbFaB@9w2:08T6xh5<D={xbP9c2jJ;5",
"camel.component.salesforce.userName":"sfpcasa.ajaxqa@tdstelecom.com"
}
}
`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org