You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "5olitude (via GitHub)" <gi...@apache.org> on 2023/02/25 12:34:15 UTC

[GitHub] [camel-kamelets] 5olitude opened a new issue, #1310: Bind variables cannot be used for table names

5olitude opened a new issue, #1310:
URL: https://github.com/apache/camel-kamelets/issues/1310

   how can  I bind kafka values as bind variables for sink 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.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org

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


[GitHub] [camel-kamelets] oscerd commented on issue #1310: Bind variables cannot be used for table names

Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd commented on issue #1310:
URL: https://github.com/apache/camel-kamelets/issues/1310#issuecomment-1445110653

   Please explain a bit better what you're trying to do and maybe add some code and examples.


-- 
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] 5olitude commented on issue #1310: Bind variables cannot be used for table names

Posted by "5olitude (via GitHub)" <gi...@apache.org>.
5olitude commented on issue #1310:
URL: https://github.com/apache/camel-kamelets/issues/1310#issuecomment-1445118368

   insert into table_name(id, name) values (?,?)    : This is my query but I need to replace the table name along with kafka returned value , suppose if my kafka values are like this [table_name,id,name] how can I assign the table_name to the above query?    Im using Cassandra sink 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.

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 issue #1310: Bind variables cannot be used for table names

Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd commented on issue #1310:
URL: https://github.com/apache/camel-kamelets/issues/1310#issuecomment-1446001249

   This is not possible at this stage. The bind is just for values not for the table name. You could try to manipulate the table name through modifying the Kamelets and change the sink from to to toD, but it's conceptually wrong for Kamelets.
   
   If you have multiple tables, you should have a kafka topic for each of them and consume with n kamelets one for each table. Kamelets are building blocks, not all the use cases could be covered.


-- 
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 closed issue #1310: Bind variables cannot be used for table names

Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd closed issue #1310:  Bind variables cannot be used for table names 
URL: https://github.com/apache/camel-kamelets/issues/1310


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