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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]