kangkaisen commented on a change in pull request #2198: Add more note for 
streamLoad java sample
URL: https://github.com/apache/incubator-doris/pull/2198#discussion_r346139271
 
 

 ##########
 File path: samples/stream_load/java/DorisStreamLoad.java
 ##########
 @@ -95,6 +125,7 @@ protected boolean isRedirectable(String method) {
             StringEntity entity = new StringEntity(content);
             put.setHeader(HttpHeaders.EXPECT, "100-continue");
             put.setHeader(HttpHeaders.AUTHORIZATION, 
basicAuthHeader(DORIS_USER, DORIS_PASSWORD));
+            put.setHeader("label", "39c25a5c-7000-496e-a98e-348a264c81de")
 
 Review comment:
   Would better add a comment for this line. the `label ` header is optional, 
not necessary.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to