Jeremy Custenborder created KAFKA-6651:
------------------------------------------
Summary: SchemaBuilder should not allow Arrays or Maps to be
created by type()
Key: KAFKA-6651
URL: https://issues.apache.org/jira/browse/KAFKA-6651
Project: Kafka
Issue Type: Bug
Components: KafkaConnect
Reporter: Jeremy Custenborder
The following code should throw an exception because we cannot set
valueSchema() or keySchema() once the builder is returned.
{code:java}
SchemaBuilder.type(Schema.Type.ARRAY);
SchemaBuilder.type(Schema.Type.MAP);{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)