stinger1206 commented on PR #112:
URL: 
https://github.com/apache/doris-kafka-connector/pull/112#issuecomment-7034168344

   Done as suggested in 4d01d1f: both load paths keep the original structure 
and add an `else` that throws `StreamLoadException` for non-200 responses and 
missing entities, logging the http status (and reason phrase) without reading 
the response body. The empty-body special case and the body-snippet helper are 
removed — `DataLoad` is untouched again, and an empty body fails JSON parsing 
as before. Regression tests adapted and green (`TestStreamLoadResponseHandling` 
12/12 plus the neighboring writer/service suites).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to