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

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

Colin P. McCabe created KAFKA-8746:
--------------------------------------

             Summary: 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


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.



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