storm-sample:在 Hortonworks HDP 中构建风暴拓扑的示例代码-源码

上传者: 42118701 | 上传时间: 2021-07-06 17:07:06 | 文件大小: 38KB | 文件类型: ZIP
风暴样本 在 Hortonworks HDP 中构建风暴拓扑的示例代码。 这不是一个完整或有效的解决方案,但提供了启动风暴项目所需的所有示例位。 入门: 在 src/main/java/com/hortonworks/streaming/impl 下查看 在topologies目录下我们可以看到Storm拓扑(基类和实现类) 在螺栓下,您可以看到 HDFS(带旋转)、hive 和 solr 的螺栓 StormKafka方案在kafka目录下 此拓扑中的所有项目都是可选的,您可以禁用除 Kafka spout 之外的所有内容来启动,并根据需要添加螺栓。 在 src/main/resources 下查看 修改 config.properties 和 hbase-site.xml 中的所有内容以匹配您的环境 编译: 编译 建造: mvn 包 部署示例脚本: scp target/

文件下载

资源详情

[{"title":"( 23 个子文件 38KB ) storm-sample:在 Hortonworks HDP 中构建风暴拓扑的示例代码-源码","children":[{"title":"storm-sample-master","children":[{"title":".gitignore <span style='color:#111;'> 7B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"main","children":[{"title":"resources","children":[{"title":"config.properties <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"hbase-site.xml <span style='color:#111;'> 4.43KB </span>","children":null,"spread":false},{"title":"jms-activemq.xml <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"log4j.xml <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"hortonworks","children":[{"title":"streaming","children":[{"title":"impl","children":[{"title":"topologies","children":[{"title":"BaseTruckEventTopology.java <span style='color:#111;'> 875B </span>","children":null,"spread":false},{"title":"TruckEventProcessorKafkaTopology.java <span style='color:#111;'> 8.78KB </span>","children":null,"spread":false}],"spread":true},{"title":"TruckEventRuleEngine.java <span style='color:#111;'> 6.79KB </span>","children":null,"spread":false},{"title":"bolts","children":[{"title":"WebSocketBoltOld.java <span style='color:#111;'> 5.65KB </span>","children":null,"spread":false},{"title":"solr","children":[{"title":"TruckEvent.java <span style='color:#111;'> 2.76KB </span>","children":null,"spread":false},{"title":"SolrIndexingBolt.java <span style='color:#111;'> 3.88KB </span>","children":null,"spread":false}],"spread":false},{"title":"WebSocketBolt.java <span style='color:#111;'> 5.83KB </span>","children":null,"spread":false},{"title":"hive","children":[{"title":"HiveTablePartitionAction.java <span style='color:#111;'> 4.42KB </span>","children":null,"spread":false},{"title":"BackupHiveTablePartitionAction.java <span style='color:#111;'> 4.18KB </span>","children":null,"spread":false}],"spread":false},{"title":"TruckEventRuleBolt.java <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"TruckHBaseBolt.java <span style='color:#111;'> 8.41KB </span>","children":null,"spread":false},{"title":"hdfs","children":[{"title":"FileTimeRotationPolicy.java <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false}],"spread":false},{"title":"TruckPhoenixHBaseBolt.java <span style='color:#111;'> 8.32KB </span>","children":null,"spread":false}],"spread":true},{"title":"utils","children":[{"title":"EventMailer.java <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false}],"spread":true},{"title":"kafka","children":[{"title":"TruckScheme2.java <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 11.06KB </span>","children":null,"spread":false},{"title":"pom.xml <span style='color:#111;'> 8.57KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明