Closed MichalCz closed 1 year ago
415
) when the topic is sent with the application/x-ndjson
content type and collected with the text/plain
content type:In GHA we can notice that sometimes error 415
is returned and sometimes not:
both jobs were done on the same commit of course.
What is more, this error is also returned when you try another way around, meaning:
si topic get pets
(default content type text/plain
is used)si topic send pets -t application/x-ndjson
(overwritten content type)Also, the method getNamedData()
has changed so that now, when you use it on hostClient you need to pass more arguments than just the topic name as it used to be before.
hostClient.getNamedData(topic, {}, "text/plain")
otherwise, you will get a bad request error 400:
What?
Why?
Topics were wrongly redirected to new instances on every request. This fixes the issue.
Also makes topic writers queue up after each other - first topic writer needs to be consumed, before others can start writing.
Also audit stream logs were turned off - these cause a loop of messages.
Usage:
In separate terminals:
Clickup Task:
How it works:
Review checks:
These aspects need to be checked by the reviewer: