When reading a very large or very small float from Kafka, the consumer may convert that number into Infinity or -Infinity respectively. These changes cause an exception to occur in the json.loads function to prevent Infinity or -Infinity values as the OpenWhisk controller will reject such JSON as being invalid.
When reading a very large or very small float from Kafka, the consumer may convert that number into
Infinity
or-Infinity
respectively. These changes cause an exception to occur in thejson.loads
function to preventInfinity
or-Infinity
values as the OpenWhisk controller will reject such JSON as being invalid.