Grokbase Groups Kafka dev June 2016
FAQ
Andrew Stevenson created KAFKA-3864:
---------------------------------------

              Summary: Kafka Connect Struct.get returning defaultValue from Struct not the field schema
                  Key: KAFKA-3864
                  URL: https://issues.apache.org/jira/browse/KAFKA-3864
              Project: Kafka
           Issue Type: Bug
           Components: KafkaConnect
     Affects Versions: 0.9.0.1
             Reporter: Andrew Stevenson
             Assignee: Ewen Cheslack-Postava


  `public Object get(Field field) {
         Object val = values[field.index()];
         if (val == null && schema.defaultValue() != null) {
             val = schema.defaultValue();
         }
         return val;
     }`

Should be field.schema.defautlValue



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupdev @
categorieskafka
postedJun 18, '16 at 1:51p
activeJun 18, '16 at 1:51p
posts1
users1
websitekafka.apache.org
irc#kafka

1 user in discussion

Andrew Stevenson (JIRA): 1 post

People

Translate

site design / logo © 2019 Grokbase