You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/12/12 16:15:01 UTC

[GitHub] [kafka] OneCricketeer edited a comment on pull request #7965: KAFKA-9436: New Kafka Connect SMT for plainText => Struct(or Map)

OneCricketeer edited a comment on pull request #7965:
URL: https://github.com/apache/kafka/pull/7965#issuecomment-991925594


   >  it puts a timestamp in front of the object
   
   If that's the case, I don't think this specific transform will help as it'd make a Struct wrapper around the extracted json object within the string, still keeping the json as a string, not an object. 
   
   My recommendation instead is to define your own subclass of StringDeserializer that substrings the message to remove the date prefix 


-- 
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: jira-unsubscribe@kafka.apache.org

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