You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/10/18 02:53:11 UTC

[GitHub] [inlong] lucaspeng12138 commented on a diff in pull request #6184: [INLONG-6181][Agent][Dataproxy][SDK] Support node protocol reporting and query

lucaspeng12138 commented on code in PR #6184:
URL: https://github.com/apache/inlong/pull/6184#discussion_r995466315


##########
inlong-dataproxy/dataproxy-docker/dataproxy-docker.sh:
##########
@@ -29,6 +32,17 @@ sed -i "s/proxy.cluster.tag=.*$/proxy.cluster.tag=${CLUSTER_TAG}/g" "${common_co
 sed -i "s/proxy.cluster.name=.*$/proxy.cluster.name=${CLUSTER_NAME}/g" "${common_conf_file}"
 sed -i "s/proxy.cluster.inCharges=.*$/proxy.cluster.inCharges=${CLUSTER_IN_CHARGES}/g" "${common_conf_file}"
 
+if [ "${PROTOCOL_HTTP}" = "http" ]; then
+  echo "proxy.report.http.protocol=${PROTOCOL_HTTP}" >> "${common_conf_file}"
+  if [ "${MQ_TYPE}" = "tubemq" ]; then
+  sed -i "s/agent1.sources=.*$/agent1.sources=tcp-source http-source/g" "${tube_conf_file}"
+  sed -n '29~49p' ${http_conf_file} >> ${tube_conf_file}
+ else 

Review Comment:
   Seems code format not aligned



-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org