You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- Enable Gradle Develocity extension when GRADLE_ENTERPRISE_ACCESS_KEY/DEVELOCITY_ACCESS_KEY is set and the build isn't
25
+
a pull request from a branch or forked repository with a name that indicates it's a work in progress. -->
26
+
<enabled>#{(env['GRADLE_ENTERPRISE_ACCESS_KEY']?.trim() > '' or env['DEVELOCITY_ACCESS_KEY']?.trim() > '') and !(env['GITHUB_HEAD_REF']?.matches('(?i).*(experiment|wip|private).*') or env['GITHUB_REPOSITORY']?.matches('(?i).*(experiment|wip|private).*'))}</enabled>
Copy file name to clipboardexpand all lines: README.md
-2
Original file line number
Diff line number
Diff line change
@@ -141,8 +141,6 @@ components in the Pulsar ecosystem, including connectors, adapters, and other la
141
141
>
142
142
> This project includes a [Maven Wrapper](https://maven.apache.org/wrapper/) that can be used instead of a system-installed Maven.
143
143
> Use it by replacing `mvn` by `./mvnw` on Linux and `mvnw.cmd` on Windows in the commands below.
144
-
>
145
-
> It's better to use CMD rather than Powershell on Windows. Because maven will activate the `windows` profile which runs `rename-netty-native-libs.cmd`.
Copy file name to clipboardexpand all lines: bin/pulsar-daemon
+9-10
Original file line number
Diff line number
Diff line change
@@ -157,7 +157,7 @@ start ()
157
157
echo starting $command, logging to $logfile
158
158
echo Note: Set immediateFlush to truein conf/log4j2.yaml will guarantee the logging event is flushing to disk immediately. The default behavior is switched off due to performance considerations.
159
159
pulsar=$PULSAR_HOME/bin/pulsar
160
-
nohup $pulsar$command"$1">"$out"2>&1< /dev/null &
160
+
nohup $pulsar$command"$@">"$out"2>&1< /dev/null &
161
161
echo$!>$pid
162
162
sleep 1; head $out
163
163
sleep 2;
@@ -216,29 +216,28 @@ stop ()
216
216
217
217
case$startStopin
218
218
(start)
219
-
start "$*"
219
+
start "$@"
220
220
;;
221
221
222
222
(stop)
223
223
stop $1
224
224
;;
225
225
226
226
(restart)
227
-
forceStopFlag=$(echo "$*"|grep "\-force")
228
-
if [[ "$forceStopFlag"!="" ]]
227
+
if [[ "$1"=="-force" ]]
229
228
then
230
-
stop "-force"
229
+
stop -force
230
+
# remove "-force" from the arguments
231
+
shift
231
232
else
232
233
stop
233
234
fi
234
235
if [ "$?"== 0 ]
235
236
then
236
-
sleep 3
237
-
paramaters="$*"
238
-
startParamaters=${paramaters//-force/}
239
-
start "$startParamaters"
237
+
sleep 3
238
+
start "$@"
240
239
else
241
-
echo"WARNNING : $command failed restart, for $command is not stopped completely."
240
+
echo"WARNNING : $command failed restart, for $command is not stopped completely."
0 commit comments