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)

Reply via email to