at the moment nakadi throws 503 in case content encoding is set to gzip and the content is not gzip format. the commit changes the behaviour that nakadi responds with 400 in case of the content is not gzip format. it is harder to achieve for zstd because zstdinput stream does not validate the content on the start, the desicion is to keep it (the pubslishing will fail and user connection will be abrupted)
at the moment nakadi throws 503 in case content encoding is set to gzip and the content is not gzip format. the commit changes the behaviour that nakadi responds with 400 in case of the content is not gzip format. it is harder to achieve for zstd because zstdinput stream does not validate the content on the start, the desicion is to keep it (the pubslishing will fail and user connection will be abrupted)