Fork me on GitHub

zookeeper:stop

Full name:

net.revelc.code:zookeeper-maven-plugin:1.2.0:stop

Description:

Stops the service running the ZooKeeper server.

Attributes:

  • Requires a Maven project to be executed.
  • Binds by default to the lifecycle phase: post-integration-test.

Required Parameters

Name Type Since Description
<shutdownPort> int 1.0.0 The port on which to listen for the shutdown string.
Default value is: 52000.
User property is: zmp.shutdownPort.
Alias is: shutdownPort.
<shutdownString> String 1.0.0 The string which triggers a shutdown when received on the shutdown port.
Default value is: shutdown.
User property is: zmp.shutdownString.
Alias is: shutdownString.

Optional Parameters

Name Type Since Description
<clientPortAddress> String 1.0.0 The local address on which to run the ZooKeeper server. This also affects the shutdownPort.
Default value is: 127.0.0.1.
User property is: zmp.clientPortAddress.
Alias is: clientPortAddress.
<ignoreSkipITs> boolean 1.0.0 When set, this enables the plugin to ignore the skipITs property. By default, the plugin will not execute if the system property skipITs is set.
Default value is: false.
User property is: zmp.ignoreSkipITs.
Alias is: ignoreSkipITs.
<ignoreSkipTests> boolean 1.0.0 When set, this enables the plugin to ignore the skipTests property. By default, the plugin will not execute if the system property skipTests is set.
Default value is: false.
User property is: zmp.ignoreSkipTests.
Alias is: ignoreSkipTests.
<shutdownWait> int 1.0.0 The amount of time, in seconds, to wait for confirmation that ZooKeeper has stopped.
Default value is: 30.
User property is: zmp.shutdownWait.
Alias is: shutdownWait.
<skip> boolean 1.0.0 Allows skipping execution of this plugin.
Default value is: false.
User property is: zmp.skip.
Alias is: skip.

Parameter Details

<clientPortAddress>

The local address on which to run the ZooKeeper server. This also affects the shutdownPort.
  • Type: java.lang.String
  • Since: 1.0.0
  • Required: No
  • User Property: zmp.clientPortAddress
  • Default: 127.0.0.1
  • Alias: clientPortAddress

<ignoreSkipITs>

When set, this enables the plugin to ignore the skipITs property. By default, the plugin will not execute if the system property skipITs is set.
  • Type: boolean
  • Since: 1.0.0
  • Required: No
  • User Property: zmp.ignoreSkipITs
  • Default: false
  • Alias: ignoreSkipITs

<ignoreSkipTests>

When set, this enables the plugin to ignore the skipTests property. By default, the plugin will not execute if the system property skipTests is set.
  • Type: boolean
  • Since: 1.0.0
  • Required: No
  • User Property: zmp.ignoreSkipTests
  • Default: false
  • Alias: ignoreSkipTests

<shutdownPort>

The port on which to listen for the shutdown string.
  • Type: int
  • Since: 1.0.0
  • Required: Yes
  • User Property: zmp.shutdownPort
  • Default: 52000
  • Alias: shutdownPort

<shutdownString>

The string which triggers a shutdown when received on the shutdown port.
  • Type: java.lang.String
  • Since: 1.0.0
  • Required: Yes
  • User Property: zmp.shutdownString
  • Default: shutdown
  • Alias: shutdownString

<shutdownWait>

The amount of time, in seconds, to wait for confirmation that ZooKeeper has stopped.
  • Type: int
  • Since: 1.0.0
  • Required: No
  • User Property: zmp.shutdownWait
  • Default: 30
  • Alias: shutdownWait

<skip>

Allows skipping execution of this plugin.
  • Type: boolean
  • Since: 1.0.0
  • Required: No
  • User Property: zmp.skip
  • Default: false
  • Alias: skip