[ 
https://issues.apache.org/jira/browse/KAFKA-4917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15930957#comment-15930957
 ] 

Gwen Shapira commented on KAFKA-4917:
-------------------------------------

I guess I could use HOIST transformation to create a struct :) 
Maybe I'll just document this pattern and call it a day.

> Our built-in file connector can't work with our built-in SMT
> ------------------------------------------------------------
>
>                 Key: KAFKA-4917
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4917
>             Project: Kafka
>          Issue Type: Bug
>          Components: KafkaConnect
>            Reporter: Gwen Shapira
>              Labels: newbie
>
> Our built-in file connector always returns STRING schema.
> All our transformations expect either STRUCT (if connectors return schema) or 
> a MAP (schemaless). 
> I understand why (how do you add a field to a STRING?), but it also means 
> that you can't have an example for SMT that works with Apache Kafka out of 
> the box. Which makes documentation kind of painful.
> Either we modify the file connector or we modify the SMTs to deal with STRING 
> better, but something gotta change.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to