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 2020/10/10 00:49:17 UTC

[GitHub] [camel-kafka-connector] LeonardoBonacci opened a new issue #565: Create example for camel-resteasy-kafka-source-connector

LeonardoBonacci opened a new issue #565:
URL: https://github.com/apache/camel-kafka-connector/issues/565


   Hi all,
   
   Thanks to all contributors: this is a great and promising project!
   
   I'm trying to set-up the camel-resteasy-kafka-source-connector, with the following - largely guessed - connector configuration 
   ```
   {
     "name": "camel-resteasy",
     "config": {
         "tasks.max":1,
         "topics": "foo",
         "connector.class":"org.apache.camel.kafkaconnector.resteasy.CamelResteasySourceConnector",
         "key.converter":"org.apache.kafka.connect.storage.StringConverter",
         "value.converter": "org.apache.kafka.connect.json.JsonConverter",
         "value.converter.schemas.enable": false,
   
         "camel.source.path.httpUri": "/easy",
         "camel.source.endpoint.resteasyMethod": "POST"
     }
   }
   ```
   It's just a experiment, but I cannot figure out how to access the connector and no documentation is provided.
   My Kafka Connect node is accessible on the default localhost:8083.
   
   Question is: how to configure camel.source.path.httpUri? On a local setup - having just the Kafka Connect node running- on which host is the connector (made) accessible?
   
   Some documentation/explanation/example would be very much appreciated.
   Cheers!
   


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



[GitHub] [camel-kafka-connector] LeonardoBonacci commented on issue #565: Create example for camel-resteasy-kafka-source-connector

Posted by GitBox <gi...@apache.org>.
LeonardoBonacci commented on issue #565:
URL: https://github.com/apache/camel-kafka-connector/issues/565#issuecomment-721932173


   All good. Thanks for answering! 
   I close this issue for now since there are many more important issues on your backlog ;)


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



[GitHub] [camel-kafka-connector] valdar commented on issue #565: Create example for camel-resteasy-kafka-source-connector

Posted by GitBox <gi...@apache.org>.
valdar commented on issue #565:
URL: https://github.com/apache/camel-kafka-connector/issues/565#issuecomment-707077783


   Hi @LeonardoBonacci I am not sure I completely get what you are trying to achieve; do you want to expose a rest endpoint trough a camel-kafka-connector?
   
   How do you run the connector? 
   You mention a running local Kafka Connect cluster,  how do you run that one as well?


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



[GitHub] [camel-kafka-connector] oscerd commented on issue #565: Create example for camel-resteasy-kafka-source-connector

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #565:
URL: https://github.com/apache/camel-kafka-connector/issues/565#issuecomment-719070649


   In terms of aurogeneration and docs there is nothing to update


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



[GitHub] [camel-kafka-connector] LeonardoBonacci commented on issue #565: Create example for camel-resteasy-kafka-source-connector

Posted by GitBox <gi...@apache.org>.
LeonardoBonacci commented on issue #565:
URL: https://github.com/apache/camel-kafka-connector/issues/565#issuecomment-719058998


   Any comments on this? 
   
   The reason for opening this issue is that I cannot imagine that source connector support can actually work for REST connectors.
   Perhaps I'm wrong here, but in case my assumption is correct the support matrix of the following connectors should be updated in the [docs](https://camel.apache.org/camel-kafka-connector/latest/connectors.html
   ) to avoid confusion:
   
   - camel-rest-api-kafka-connector
   - camel-rest-kafka-connector
   - camel-resteasy-kafka-connector
   
   
    


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



[GitHub] [camel-kafka-connector] oscerd commented on issue #565: Create example for camel-resteasy-kafka-source-connector

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #565:
URL: https://github.com/apache/camel-kafka-connector/issues/565#issuecomment-719070350


   Basically it's a camel context behind these connectors. We still need to check this stuff, but as far as you have a consuming side in the component you'll get an autogenerated source connector. 


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



[GitHub] [camel-kafka-connector] LeonardoBonacci closed issue #565: Create example for camel-resteasy-kafka-source-connector

Posted by GitBox <gi...@apache.org>.
LeonardoBonacci closed issue #565:
URL: https://github.com/apache/camel-kafka-connector/issues/565


   


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



[GitHub] [camel-kafka-connector] oscerd commented on issue #565: Create example for camel-resteasy-kafka-source-connector

Posted by GitBox <gi...@apache.org>.
oscerd commented on issue #565:
URL: https://github.com/apache/camel-kafka-connector/issues/565#issuecomment-720656804


   I think the packaged connectors doesn't have all the required bits, at least it seems we are missing something @LeonardoBonacci 


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



[GitHub] [camel-kafka-connector] LeonardoBonacci commented on issue #565: Create example for camel-resteasy-kafka-source-connector

Posted by GitBox <gi...@apache.org>.
LeonardoBonacci commented on issue #565:
URL: https://github.com/apache/camel-kafka-connector/issues/565#issuecomment-707325879


   Hi @valdar exactly that. I want to expose a rest endpoint through a camel-kafka-connector.
   The Kafka Connect cluster runs through docker-compose now, but in the future it will run in a Kafka Connect cluster in Kubernetes using Strimzi operators.  


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