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/02/03 14:17:18 UTC

[GitHub] [camel-kafka-connector] h4gen commented on issue #969: Convert NettyChannelBufferStreamCache from NettyHttpSource not converted to string

h4gen commented on issue #969:
URL: https://github.com/apache/camel-kafka-connector/issues/969#issuecomment-772542731


   Hi @valdar!
   Thanks for the suggestion. I added the snippet to the configuration, leading to the following configuration in total:
   
   ````
   {
    "connector.class": "org.apache.camel.kafkaconnector.nettyhttp.CamelNettyhttpSourceConnector",
    "camel.source.endpoint.receiveBufferSize": "10",
    "camel.source.path.host": "0.0.0.0",
    "camel.source.path.protocol": "http",
    "tasks.max": "1",
    "topics": "test",
    "camel.source.path.port": "8081",
    "name": "http",
    "value.converter": "org.apache.kafka.connect.storage.StringConverter",
    "key.converter": "org.apache.kafka.connect.storage.StringConverter",
    "transforms": "tostring",
    "transforms.tostring.type": "org.apache.camel.kafkaconnector.transforms.CamelTypeConverterTransform",
    "transforms.tostring.target.type": "java.lang.String"
   }
   ````
   Now I receive the following Error when i try to deploy the connector:
   
   ````
   transforms.tostring.type: Invalid value class org.apache.camel.kafkaconnector.transforms.CamelTypeConverterTransform for configuration transforms.tostring.type: Error getting config definition from Transformation: null
   ````
   
   Thanks!


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org