Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any kind of SMT available in camel-kamelets #1309

Closed
5olitude opened this issue Feb 25, 2023 · 1 comment
Closed

Is there any kind of SMT available in camel-kamelets #1309

5olitude opened this issue Feb 25, 2023 · 1 comment

Comments

@5olitude
Copy link

5olitude commented Feb 25, 2023

I am sending data from kafka in the form of json to the sink datasource but it is not populated in the supposed database ,but array of data working fine [1,"Alice"] and its added to the rows . I already saw an issue regarding this in camel-kafka-connector but the solution was to make a custom smt , Let me know whether there is a field available in yaml of kamelets to add custom smt .
I want to add the data in the below format to the cassandra db

[{
    "id" : "1",
    "name" : "Alice",
} ]

apache/camel-kafka-connector#1487

@oscerd
Copy link
Contributor

oscerd commented Feb 27, 2023

No, there is not. Since Kamelets are generic and not only for Kafka Connect framework, there is no point in having a field for SMTs in their YAML. You should create your own SMT.

@oscerd oscerd closed this as completed Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants