配置MongoDB(个人公司公共模块,备忘一下)
引入jar包
<dependency> <groupId>com.ehaier.shoppingmall</groupId> <artifactId>shoppingmall-core</artifactId> <version>3.0.10</version> </dependency> <dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-mongodb</artifactId> <version>2.1.5.RELEASE</version> </dependency> <dependency> <groupId>org.apache.xmlrpc</groupId> <artifactId>xmlrpc-client</artifactId> <version>3.1.3</version> </dependency>
配置yml
mongo: replica-set: 10.1.132.28:27017 prop: python: addr: http://10.1.132.22:30001/RPC2 image: source: domain: img.rrscdn.dev/
service.xml引入
<import resource="classpath:mongo-config.xml"></import>

低调大师中文资讯倾力打造互联网数据资讯、行业资源、电子商务、移动互联网、网络营销平台。
持续更新报道IT业界、互联网、市场资讯、驱动更新,是最及时权威的产业资讯及硬件资讯报道平台。
转载内容版权归作者及来源网站所有,本站原创内容转载请注明来源。
- 上一篇
How is data inserted into Presto?
Overview We know that there is an interesting question interviewer likes to ask: Tell me what happens after I click the web browser's Go button util we see the response page? The interesting part of the question is that you have to understand the whole process of how a http request/response works before you can answer this question. Today I will use the similar scheme to
- 下一篇
【资料下载】Python 系列直播——深入Python与日志服务,玩转大规模数据分析处理实战第五讲
Python日志最佳实践与日志上云实战! Python 系列直播——深入Python与日志服务,玩转大规模数据分析处理实战 直播时间:3月27日(周三)20:00—21:00 直播介绍:良好的日志实践可以帮助后续的开发排错、运营维护监控管理工作大大提高效率,本节介绍使用Python的日志模块的最佳实践,并轻松上云,利用日志服务提高产品运维效率。 直播讲师:丁来强(成喆)——阿里高级技术专家,从事阿里云日志服务相关的产品与研发工作,擅长AIOps/SecOps的大数据分析平台构建与场景落地,擅长C++与Python语言等。PyCon历届讲师,曾经在中国PyCon2015、2016与2018分享过7场/6个不同议题,覆盖Jupyter扩展、大数据分析可视化、工作流调度、函数式、设计模式、Python核心语言等方面,广受好评。 欢迎加入pytho
相关文章
文章评论
共有0条评论来说两句吧...
文章二维码
点击排行
推荐阅读
最新文章
- SpringBoot2全家桶,快速入门学习开发网站教程
- Docker安装Oracle12C,快速搭建Oracle学习环境
- SpringBoot2整合MyBatis,连接MySql数据库做增删改查操作
- Eclipse初始化配置,告别卡顿、闪退、编译时间过长
- MySQL8.0.19开启GTID主从同步CentOS8
- CentOS8,CentOS7,CentOS6编译安装Redis5.0.7
- CentOS7编译安装Cmake3.16.3,解决mysql等软件编译问题
- Springboot2将连接池hikari替换为druid,体验最强大的数据库连接池
- 设置Eclipse缩进为4个空格,增强代码规范
- CentOS7,CentOS8安装Elasticsearch6.8.6