http-kafka
fetch binding returns malformed JSON when the payload is large
#528
Labels
bug
Something isn't working
Describe the bug
When fetching larger payloads the resulting JSON would have random commas (
,
) placed in the text causing failed JSON parsing. Checking data ingress and on Kafka looks to be correct JSON.To Reproduce
Steps to reproduce the behavior:
startup.sh
"RANGE_END": 300,
value in thetaxi/grpc/service/*_load_test_*.json
files meaningtaxi-service
:docker-compose -p zilla-taxi-demo restart taxi-service
.stream_active_received{namespace="zilla-taxi-demo",binding="mqtt_server"}
should now be 900Unexpected token ',', ...", "icon": ,"airport_"... is not valid JSON
kcat -C -b localhost:9092 -t taxi-messages -J -u | jq .payload >> out.json
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: