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/06/25 17:28:22 UTC

[GitHub] [camel-kamelets] claudio4j opened a new pull request #401: Enhance mongodb sink kamelet

claudio4j opened a new pull request #401:
URL: https://github.com/apache/camel-kamelets/pull/401


   Adding more parameters and expected headers to control document
   filtering, sorting, limits, skip, etc


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



[GitHub] [camel-kamelets] claudio4j commented on pull request #401: Enhance mongodb sink kamelet

Posted by GitBox <gi...@apache.org>.
claudio4j commented on pull request #401:
URL: https://github.com/apache/camel-kamelets/pull/401#issuecomment-869842116


   @oscerd In addition to those you mentioned I think db-upsert is useful too.


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



[GitHub] [camel-kamelets] oscerd commented on pull request #401: Enhance mongodb sink kamelet

Posted by GitBox <gi...@apache.org>.
oscerd commented on pull request #401:
URL: https://github.com/apache/camel-kamelets/pull/401#issuecomment-869397476


   I think you should create specialized sink kamelet for more operations on the sink side, but I wouldn't add all the headers in one place. For the general sink, I would just add the writeConcern and createCollection properties and leave it as is. The aim of kamelets is to hide the Camel internals to the users.


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



[GitHub] [camel-kamelets] claudio4j commented on pull request #401: Enhance mongodb sink kamelet

Posted by GitBox <gi...@apache.org>.
claudio4j commented on pull request #401:
URL: https://github.com/apache/camel-kamelets/pull/401#issuecomment-869842116


   @oscerd In addition to those you mentioned I think db-upsert is useful too.


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



[GitHub] [camel-kamelets] claudio4j commented on pull request #401: Enhance mongodb sink kamelet

Posted by GitBox <gi...@apache.org>.
claudio4j commented on pull request #401:
URL: https://github.com/apache/camel-kamelets/pull/401#issuecomment-868721855


   /cc @oscerd 


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



[GitHub] [camel-kamelets] oscerd commented on pull request #401: Enhance mongodb sink kamelet

Posted by GitBox <gi...@apache.org>.
oscerd commented on pull request #401:
URL: https://github.com/apache/camel-kamelets/pull/401#issuecomment-868772729


   To me a kamelet should be a pre-baked action. So it should be tailored just for one operation. If we need to add more operations they should be different kamelets. So i would focus on options related to insert operation (headers and endpoint params) and leave the operation as insert and static. If you think about the kafka connectivity for example, if you use the sink kamelet you'll go for inserting Kafka records in mongodb


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



[GitHub] [camel-kamelets] claudio4j commented on pull request #401: Enhance mongodb sink kamelet

Posted by GitBox <gi...@apache.org>.
claudio4j commented on pull request #401:
URL: https://github.com/apache/camel-kamelets/pull/401#issuecomment-868819141


   It's ok for me to add another mongodb-op-sink kamelet so users can specify which operation to run, for example a findAll operation with filter/sort/limit parameters, sounds appropriate for users who want to retrieve data from mongodb. 


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



[GitHub] [camel-kamelets] oscerd merged pull request #401: Enhance mongodb sink kamelet

Posted by GitBox <gi...@apache.org>.
oscerd merged pull request #401:
URL: https://github.com/apache/camel-kamelets/pull/401


   


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



[GitHub] [camel-kamelets] oscerd commented on pull request #401: Enhance mongodb sink kamelet

Posted by GitBox <gi...@apache.org>.
oscerd commented on pull request #401:
URL: https://github.com/apache/camel-kamelets/pull/401#issuecomment-868823629


   If they need to retrieve something from mongodb they should use a source kamelet


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