Apache Ignite Loading Twice with Spring-Boot?

戏子无情 提交于 2019-12-05 13:52:49

Actually Ignite starts once in both cases (with commented and uncommented SpringApplication.run line). Each Ignite node prints out current topology snapshot, but I see only one line about it in log:

Topology snapshot [ver=14, servers=2, clients=0, CPUs=8, heap=3.7GB]

These are not "two instances", but two ways of how Ignite logs startup banner - one with STDOUT and another one with a built-in logger.

Just add ignite-slf4j dependency and use setGridLogger method of IgniteConfiguration to override the default logger - this message will disappear.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!