You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Randall Hauch (JIRA)" <ji...@apache.org> on 2018/11/01 21:57:00 UTC

[jira] [Updated] (KAFKA-7292) Converters should report their configuration options

     [ https://issues.apache.org/jira/browse/KAFKA-7292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Randall Hauch updated KAFKA-7292:
---------------------------------
    Affects Version/s: 2.1.0

> Converters should report their configuration options
> ----------------------------------------------------
>
>                 Key: KAFKA-7292
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7292
>             Project: Kafka
>          Issue Type: Improvement
>          Components: KafkaConnect
>    Affects Versions: 0.10.2.0
>            Reporter: Jeremy Custenborder
>            Priority: Major
>              Labels: needs-kip
>
> Converters do not support returning their configuration like Connectors and Transformations do. Given this can be configured by an end user it should also be reported via the API. 
> {code:java}
> public interface Converter {
>   void configure(Map<String, ?> var1, boolean var2);
>   byte[] fromConnectData(String var1, Schema var2, Object var3);
>   SchemaAndValue toConnectData(String var1, byte[] var2);
>   default ConfigDef config() {
>     return new ConfigDef();
>   }
> }
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)