You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/03/07 23:46:00 UTC

[jira] [Commented] (KAFKA-8067) JsonConverter missing and optional field defaults result in a null pointer

    [ https://issues.apache.org/jira/browse/KAFKA-8067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16787333#comment-16787333 ] 

ASF GitHub Bot commented on KAFKA-8067:
---------------------------------------

epheatt commented on pull request #6400: KAFKA-8067 - JsonConverter Missing Optional field handling
URL: https://github.com/apache/kafka/pull/6400
 
 
   *More detailed description of your change,
   if necessary. The PR title and PR message become
   the squashed commit message, so use a separate
   comment to ping reviewers.*
   
   *Summary of testing strategy (including rationale)
   for the feature or bug fix. Unit and/or integration
   tests are expected for any behaviour change and
   system tests should be considered for larger changes.*
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> JsonConverter missing and optional field defaults result in a null pointer
> --------------------------------------------------------------------------
>
>                 Key: KAFKA-8067
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8067
>             Project: Kafka
>          Issue Type: Improvement
>          Components: KafkaConnect
>            Reporter: Eric Pheatt
>            Priority: Minor
>              Labels: Json, converter
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The internal Kafka Connect JsonSchema allows for specifying an optional field but the JsonConverter throws a null pointer error when trying to apply the default for missing optional field in the payload. 



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