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

GeordieMai commented on KAFKA-10878:
------------------------------------

[~chia7712] thank you

> testReadWhenOptionalDataMissingAtTheEndIsNotTolerated/testReadWithMissingNonOptionalExtraDataAtTheEnd
>  should check the error message
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-10878
>                 URL: https://issues.apache.org/jira/browse/KAFKA-10878
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Chia-Ping Tsai
>            Assignee: GeordieMai
>            Priority: Major
>              Labels: newbie
>
> {quote}
> SchemaException e = assertThrows(SchemaException.class, () -> 
> newSchema.read(buffer));
> e.getMessage().contains("Missing value for field 'field2' which has no 
> default value");
> {quote}
> It does not use the assert check.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to