kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Custenborder (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-7292) Converters should report their configuration options
Date Tue, 14 Aug 2018 15:32:00 GMT
Jeremy Custenborder created KAFKA-7292:
------------------------------------------

             Summary: 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
            Reporter: Jeremy Custenborder


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)

Mime
View raw message