This is an automated email from the ASF dual-hosted git repository.
chia7712 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new 7ef56a9313e KAFKA-17987 Remove ZooKeeper related windows scripts
(#17811)
7ef56a9313e is described below
commit 7ef56a9313ed885bc4a5f023af74429ebfc7c713
Author: Mickael Maison <[email protected]>
AuthorDate: Sun Nov 17 19:21:24 2024 +0100
KAFKA-17987 Remove ZooKeeper related windows scripts (#17811)
Reviewers: Chia-Ping Tsai <[email protected]>
---
bin/windows/zookeeper-server-start.bat | 30 ------------------------------
bin/windows/zookeeper-server-stop.bat | 17 -----------------
bin/windows/zookeeper-shell.bat | 22 ----------------------
3 files changed, 69 deletions(-)
diff --git a/bin/windows/zookeeper-server-start.bat
b/bin/windows/zookeeper-server-start.bat
deleted file mode 100644
index f201a585135..00000000000
--- a/bin/windows/zookeeper-server-start.bat
+++ /dev/null
@@ -1,30 +0,0 @@
-@echo off
-rem Licensed to the Apache Software Foundation (ASF) under one or more
-rem contributor license agreements. See the NOTICE file distributed with
-rem this work for additional information regarding copyright ownership.
-rem The ASF licenses this file to You under the Apache License, Version 2.0
-rem (the "License"); you may not use this file except in compliance with
-rem the License. You may obtain a copy of the License at
-rem
-rem http://www.apache.org/licenses/LICENSE-2.0
-rem
-rem Unless required by applicable law or agreed to in writing, software
-rem distributed under the License is distributed on an "AS IS" BASIS,
-rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-rem See the License for the specific language governing permissions and
-rem limitations under the License.
-
-IF [%1] EQU [] (
- echo USAGE: %0 zookeeper.properties
- EXIT /B 1
-)
-
-SetLocal
-IF ["%KAFKA_LOG4J_OPTS%"] EQU [""] (
- set
KAFKA_LOG4J_OPTS=-Dlog4j.configuration=file:%~dp0../../config/log4j.properties
-)
-IF ["%KAFKA_HEAP_OPTS%"] EQU [""] (
- set KAFKA_HEAP_OPTS=-Xmx512M -Xms512M
-)
-"%~dp0kafka-run-class.bat" org.apache.zookeeper.server.quorum.QuorumPeerMain %*
-EndLocal
diff --git a/bin/windows/zookeeper-server-stop.bat
b/bin/windows/zookeeper-server-stop.bat
deleted file mode 100644
index 8b57dd8d630..00000000000
--- a/bin/windows/zookeeper-server-stop.bat
+++ /dev/null
@@ -1,17 +0,0 @@
-@echo off
-rem Licensed to the Apache Software Foundation (ASF) under one or more
-rem contributor license agreements. See the NOTICE file distributed with
-rem this work for additional information regarding copyright ownership.
-rem The ASF licenses this file to You under the Apache License, Version 2.0
-rem (the "License"); you may not use this file except in compliance with
-rem the License. You may obtain a copy of the License at
-rem
-rem http://www.apache.org/licenses/LICENSE-2.0
-rem
-rem Unless required by applicable law or agreed to in writing, software
-rem distributed under the License is distributed on an "AS IS" BASIS,
-rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-rem See the License for the specific language governing permissions and
-rem limitations under the License.
-
-wmic process where (commandline like "%%zookeeper%%" and not name="wmic.exe")
delete
diff --git a/bin/windows/zookeeper-shell.bat b/bin/windows/zookeeper-shell.bat
deleted file mode 100644
index f1c86c430c1..00000000000
--- a/bin/windows/zookeeper-shell.bat
+++ /dev/null
@@ -1,22 +0,0 @@
-@echo off
-rem Licensed to the Apache Software Foundation (ASF) under one or more
-rem contributor license agreements. See the NOTICE file distributed with
-rem this work for additional information regarding copyright ownership.
-rem The ASF licenses this file to You under the Apache License, Version 2.0
-rem (the "License"); you may not use this file except in compliance with
-rem the License. You may obtain a copy of the License at
-rem
-rem http://www.apache.org/licenses/LICENSE-2.0
-rem
-rem Unless required by applicable law or agreed to in writing, software
-rem distributed under the License is distributed on an "AS IS" BASIS,
-rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-rem See the License for the specific language governing permissions and
-rem limitations under the License.
-
-IF [%1] EQU [] (
- echo USAGE: %0 zookeeper_host:port[/path] [-zk-tls-config-file file]
[args...]
- EXIT /B 1
-)
-
-"%~dp0kafka-run-class.bat"
org.apache.zookeeper.ZooKeeperMainWithTlsSupportForKafka -server %*