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

Dhananjay Patkar commented on KAFKA-4714:
-----------------------------------------

Thanks [~ewencp] for quick reply.

I have a use case, wherein I need to map incoming raw message to standard 
format and persist, as well as persist raw message as is.
Converting from raw message to standard format message is not always 
guaranteed, but I still need to persist raw message.

I understand I can write multiple consumer to same topic, 1 consumer will 
persist  raw messages as is and other will transform raw message into standard 
format and persist.

Just wanted to know, is there way I can do it as a single consumer through SMT.

??The record is maintained internally, but it is not exposed to the connector??
Is there a possibility to expose raw message based on configuration during SMT?

> Implement remaining KIP-66 SMTs
> -------------------------------
>
>                 Key: KAFKA-4714
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4714
>             Project: Kafka
>          Issue Type: Bug
>          Components: KafkaConnect
>            Reporter: Ewen Cheslack-Postava
>            Assignee: Ewen Cheslack-Postava
>             Fix For: 0.11.0.0
>
>
> Three didn't make it for the 0.10.2.0 release: Flatten, Cast, and 
> TimestampConverter.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to