You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2019/11/14 06:06:11 UTC

[GitHub] [incubator-doris] kangkaisen commented on a change in pull request #2198: Add more note for streamLoad java sample

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:
users@infra.apache.org


With regards,
Apache Git Services

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