You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Colin P. McCabe (JIRA)" <ji...@apache.org> on 2019/08/02 17:46:00 UTC

[jira] [Commented] (KAFKA-8746) Kibosh must handle an empty JSON string from Trogdor

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

Colin P. McCabe commented on KAFKA-8746:
----------------------------------------

https://github.com/apache/kafka/pull/7155

> Kibosh must handle an empty JSON string from Trogdor
> ----------------------------------------------------
>
>                 Key: KAFKA-8746
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8746
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Colin P. McCabe
>            Assignee: Colin P. McCabe
>            Priority: Minor
>
> {code:java}
> When Trogdor wants to clear all the faults injected to Kibosh, it sends the empty JSON object {}.  However, Kibosh expects {"faults":[]} instead.
> Kibosh should handle the empty JSON object, since that's consistent with how Trogdor handles empty JSON fields in general (if they're empty, they can be omitted).  We should also have a test for this.
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)