Open ferozed opened 3 years ago
I think you can try to create two transformations: the first with FromJson to read the entire object and transform it into a structured object instead a string. After that, you can use some other transformation to extract just the value you want, for example:
https://docs.confluent.io/current/connect/transforms/extractfield.html
I have a dynamo table that I am trying to read. For that i am using the
kafka-connect-dynamodb
connector from trustpilot.It creates a record as follows:
I want to read from the
document
field of the result and run theFromJson
transform on it. how do I do that? The example in the docs shows it operating on the wholeValue
field of the kafka record.