Repository: storm Updated Branches: refs/heads/master cb25186f5 -> de1d46859
MINOR: Remove dependency on storm-client-misc Project: http://git-wip-us.apache.org/repos/asf/storm/repo Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/9d311b2a Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/9d311b2a Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/9d311b2a Branch: refs/heads/master Commit: 9d311b2a427431ed1d3e874a8295ef3756d7fcd6 Parents: 06f8bc7 Author: Stig Rohde Døssing <[email protected]> Authored: Fri Sep 8 08:50:13 2017 +0200 Committer: Stig Rohde Døssing <[email protected]> Committed: Fri Sep 8 08:53:55 2017 +0200 ---------------------------------------------------------------------- docs/Metrics.md | 2 +- examples/storm-loadgen/pom.xml | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/storm/blob/9d311b2a/docs/Metrics.md ---------------------------------------------------------------------- diff --git a/docs/Metrics.md b/docs/Metrics.md index cf42339..d45d1ef 100644 --- a/docs/Metrics.md +++ b/docs/Metrics.md @@ -50,7 +50,7 @@ Storm adds a MetricsConsumerBolt to your topolology for each class in the `topol Storm provides some built-in metrics consumers for you to try out to see which metrics are provided in your topology. * [`LoggingMetricsConsumer`]({{page.git-blob-base}}/storm-client/src/jvm/org/apache/storm/metric/LoggingMetricsConsumer.java) -- listens for all metrics and dumps them to log file with TSV (Tab Separated Values). -* [`HttpForwardingMetricsConsumer`]({{page.git-blob-base}}/storm-client-misc/src/jvm/org/apache/storm/misc/metric/HttpForwardingMetricsConsumer.java) -- listens for all metrics and POSTs them serialized to a configured URL via HTTP. Storm also provides [`HttpForwardingMetricsServer`]({{page.git-blob-base}}/storm-core/src/jvm/org/apache/storm/metric/HttpForwardingMetricsServer.java) as abstract class so you can extend this class and run as a HTTP server, and handle metrics sent by HttpForwardingMetricsConsumer. +* [`HttpForwardingMetricsConsumer`]({{page.git-blob-base}}/examples/storm-loadgen/src/main/java/org/apache/storm/loadgen/HttpForwardingMetricsConsumer.java) -- listens for all metrics and POSTs them serialized to a configured URL via HTTP. Storm also provides [`HttpForwardingMetricsServer`]({{page.git-blob-base}}/storm-core/src/jvm/org/apache/storm/metric/HttpForwardingMetricsServer.java) as abstract class so you can extend this class and run as a HTTP server, and handle metrics sent by HttpForwardingMetricsConsumer. Also, Storm exposes the interface [`IMetricsConsumer`]({{page.git-blob-base}}/storm-client/src/jvm/org/apache/storm/metric/api/IMetricsConsumer.java) for implementing Metrics Consumer so you can create custom metrics consumers and attach to their topologies, or use other great implementation of Metrics Consumers provided by Storm community. Some of examples are [versign/storm-graphite](https://github.com/verisign/storm-graphite), and [storm-metrics-statsd](https://github.com/endgameinc/storm-metrics-statsd). http://git-wip-us.apache.org/repos/asf/storm/blob/9d311b2a/examples/storm-loadgen/pom.xml ---------------------------------------------------------------------- diff --git a/examples/storm-loadgen/pom.xml b/examples/storm-loadgen/pom.xml index 1b2e4f7..e79e14c 100644 --- a/examples/storm-loadgen/pom.xml +++ b/examples/storm-loadgen/pom.xml @@ -51,9 +51,12 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs <scope>${provided.scope}</scope> </dependency> <dependency> - <groupId>org.apache.storm</groupId> - <artifactId>storm-client-misc</artifactId> - <version>${project.version}</version> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-server</artifactId> + </dependency> + <dependency> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-servlet</artifactId> </dependency> <dependency> <groupId>org.apache.storm</groupId>
