This is an automated email from the ASF dual-hosted git repository.
zhangstar333 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 938a1664107 [docker] [fix ]update kafka start scripts (#33370)
938a1664107 is described below
commit 938a16641078d626c9101dc80cb598d751845a0e
Author: XuJianxu <[email protected]>
AuthorDate: Tue Apr 9 10:23:52 2024 +0800
[docker] [fix ]update kafka start scripts (#33370)
Co-authored-by: 胥剑旭 <[email protected]>
---
docker/thirdparties/run-thirdparties-docker.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docker/thirdparties/run-thirdparties-docker.sh
b/docker/thirdparties/run-thirdparties-docker.sh
index e9149f16dd4..0e565c2af3b 100755
--- a/docker/thirdparties/run-thirdparties-docker.sh
+++ b/docker/thirdparties/run-thirdparties-docker.sh
@@ -285,8 +285,8 @@ if [[ "${RUN_KAFKA}" -eq 1 ]]; then
declare -a topics=("basic_data" "basic_array_data"
"basic_data_with_errors" "basic_array_data_with_errors" "basic_data_timezone"
"basic_array_data_timezone")
for topic in "${topics[@]}"; do
- echo "docker exec "${container_id}" bash -c echo
'/opt/kafka/bin/kafka-topics.sh --create --broker-list '${ip_host}:19193'
--partitions 10' --topic '${topic}'"
- docker exec "${container_id}" bash -c
"/opt/kafka/bin/kafka-topics.sh --create --broker-list '${ip_host}:19193'
--partitions 10' --topic '${topic}'"
+ echo "docker exec "${container_id}" bash -c echo
'/opt/kafka/bin/kafka-topics.sh --create --bootstrap-server '${ip_host}:19193'
--topic '${topic}'"
+ docker exec "${container_id}" bash -c
"/opt/kafka/bin/kafka-topics.sh --create --bootstrap-server '${ip_host}:19193'
--topic '${topic}'"
done
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]