kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Sela (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-6684) Support casting values with bytes schema to string
Date Tue, 20 Mar 2018 15:11:00 GMT

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

Amit Sela commented on KAFKA-6684:

[~hachikuji] mind taking a look?

> Support casting values with bytes schema to string 
> ---------------------------------------------------
>                 Key: KAFKA-6684
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6684
>             Project: Kafka
>          Issue Type: Improvement
>          Components: KafkaConnect
>            Reporter: Amit Sela
>            Priority: Major
> Casting from BYTES is not supported, which means that casting LogicalTypes is not supported.
> This proposes to allow casting anything to a string, kind of like Java's {{toString()}},
such that if the object is actually a LogicalType it can be "serialized" as string instead
of bytes+schema.
> Worst case, bytes are "casted" to whatever the {{toString()}} returns - its up to the
user to know the data.
> This would help when using a JSON sink, or anything that's not Avro.

This message was sent by Atlassian JIRA

View raw message