springMVC+多线程+kafka的 demo基于maven

上传者: 24529345 | 上传时间: 2019-12-21 20:35:11 | 文件大小: 43KB | 文件类型: zip
多次整理精简,得出基于maven 的springmvc 框架搭载 :多线程(线程池式)和 kafka(集群下生产者消费者);demo 下载导入改下kafka集群IP地址即可使用。

文件下载

资源详情

[{"title":"( 46 个子文件 43KB ) springMVC+多线程+kafka的 demo基于maven","children":[{"title":"HelloSpringMVC","children":[{"title":"pom.xml <span style='color:#111;'> 2.42KB </span>","children":null,"spread":false},{"title":"target","children":[{"title":"test-classes","children":[{"title":"com","children":[{"title":"test","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"m2e-wtp","children":[{"title":"web-resources","children":[{"title":"META-INF","children":[{"title":"maven","children":[{"title":"com.zhyl","children":[{"title":"HelloSpringMVC","children":[{"title":"pom.xml <span style='color:#111;'> 2.42KB </span>","children":null,"spread":false},{"title":"pom.properties <span style='color:#111;'> 247B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"MANIFEST.MF <span style='color:#111;'> 111B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"classes","children":[{"title":"spring-kafkaconsumer-config.xml <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"spring-thread-config.xml <span style='color:#111;'> 2.86KB </span>","children":null,"spread":false},{"title":"com","children":[{"title":"test","children":[{"title":"HelloSpringController.class <span style='color:#111;'> 4.11KB </span>","children":null,"spread":false},{"title":"StartTaskThread.class <span style='color:#111;'> 962B </span>","children":null,"spread":false},{"title":"RuleService.class <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"HelloSpringController$1.class <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"HelloSpringController$2.class <span style='color:#111;'> 870B </span>","children":null,"spread":false}],"spread":true},{"title":"zhyl","children":[{"title":"config","children":[{"title":"KafkaConsumerListenser.class <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"KafkaController$1.class <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"KafkaController.class <span style='color:#111;'> 3.23KB </span>","children":null,"spread":false},{"title":"KafkaController$2.class <span style='color:#111;'> 889B </span>","children":null,"spread":false}],"spread":true},{"title":"service","children":[{"title":"KafkaConsumerSerivceImpl.class <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"kafka.properties <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false},{"title":"springContext.xml <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"thread.properties <span style='color:#111;'> 382B </span>","children":null,"spread":false},{"title":"spring-kafkaproducer-config.xml <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.m2e.core.prefs <span style='color:#111;'> 90B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.name <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.project.facet.core.xml <span style='color:#111;'> 292B </span>","children":null,"spread":false},{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 641B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.component <span style='color:#111;'> 683B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.container <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.validation.prefs <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":".jsdtscope <span style='color:#111;'> 639B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 736B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"test","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"webapp","children":[{"title":"WEB-INF","children":[{"title":"web.xml <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"views","children":[{"title":"hellospring.jsp <span style='color:#111;'> 466B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"index.jsp <span style='color:#111;'> 515B </span>","children":null,"spread":false}],"spread":true},{"title":"resources","children":[{"title":"spring-kafkaconsumer-config.xml <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"spring-thread-config.xml <span style='color:#111;'> 2.86KB </span>","children":null,"spread":false},{"title":"kafka.properties <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false},{"title":"springContext.xml <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"thread.properties <span style='color:#111;'> 382B </span>","children":null,"spread":false},{"title":"spring-kafkaproducer-config.xml <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"test","children":[{"title":"HelloSpringController.java <span style='color:#111;'> 3.23KB </span>","children":null,"spread":false},{"title":"StartTaskThread.java <span style='color:#111;'> 841B </span>","children":null,"spread":false},{"title":"RuleService.java <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false}],"spread":true},{"title":"zhyl","children":[{"title":"config","children":[{"title":"KafkaConsumerListenser.java <span style='color:#111;'> 915B </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"KafkaController.java <span style='color:#111;'> 2.37KB </span>","children":null,"spread":false}],"spread":false},{"title":"service","children":[{"title":"KafkaConsumerSerivceImpl.java <span style='color:#111;'> 825B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • 秋雨午后 :
    还可以,不过自己可以写
    2019-05-24
  • 人笨不由我 :
    没卵用,写的什么破玩意
    2018-08-16

免责申明

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