Change the build to use the mon-common from the local repository. Updated README.md with build instructions.
Added a plugin so mvn clean also removes the deb.
This commit is contained in:
parent
5a44e0586c
commit
6fc4f6ebd9
@ -9,6 +9,14 @@ The basic design of the Persister is to have one Kafka consumer publish to a Dis
|
|||||||
|
|
||||||
The number of output processors/threads in the Persister can be specified to scale to more messages. To horizontally scale and provide fault-tolerance any number of Persisters can be started as consumers from the the Message Queue.
|
The number of output processors/threads in the Persister can be specified to scale to more messages. To horizontally scale and provide fault-tolerance any number of Persisters can be started as consumers from the the Message Queue.
|
||||||
|
|
||||||
|
# Build
|
||||||
|
|
||||||
|
Requires mon-common from https://github.com/hpcloud-mon/mon-common. Download and build following instructions in its README.md. Then build mon-persister by:
|
||||||
|
|
||||||
|
```
|
||||||
|
mvn clean package
|
||||||
|
```
|
||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
|
|
||||||
* Purge metrics on shutdown
|
* Purge metrics on shutdown
|
||||||
|
13
pom.xml
13
pom.xml
@ -28,7 +28,7 @@
|
|||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
<artifactNamedVersion>${project.name}-${project.version}-${timestamp}-${buildNumber}
|
<artifactNamedVersion>${project.name}-${project.version}-${timestamp}-${buildNumber}
|
||||||
</artifactNamedVersion>
|
</artifactNamedVersion>
|
||||||
<mon.common.version>1.0.0.51</mon.common.version>
|
<mon.common.version>1.0.0-SNAPSHOT</mon.common.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<!--Needed for buildnumber-maven-plugin-->
|
<!--Needed for buildnumber-maven-plugin-->
|
||||||
@ -254,6 +254,17 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-clean-plugin</artifactId>
|
||||||
|
<version>2.5</version>
|
||||||
|
<configuration>
|
||||||
|
<filesets>
|
||||||
|
<fileset>
|
||||||
|
<directory>${project.basedir}/debs</directory>
|
||||||
|
</fileset>
|
||||||
|
</filesets>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user