[2018-05-17 16:20:54,971] INFO Server environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib (org.apache.zookeeper.server.ZooKeeperServer)
[2018-05-17 16:20:54,971] INFO Server environment:java.io.tmpdir=/tmp (org.apache.zookeeper.server.ZooKeeperServer)
[2018-05-17 16:20:54,971] INFO Server environment:java.compiler=<NA> (org.apache.zookeeper.server.ZooKeeperServer)
[2018-05-17 16:20:54,971] INFO Server environment:os.name=Linux (org.apache.zookeeper.server.ZooKeeperServer)
[2018-05-17 16:20:54,971] INFO Server environment:os.arch=amd64 (org.apache.zookeeper.server.ZooKeeperServer)
[2018-05-17 16:20:54,971] INFO Server environment:os.version=3.10.0-514.el7.x86_64 (org.apache.zookeeper.server.ZooKeeperServer)
[2018-05-17 16:20:54,971] INFO Server environment:user.name=root (org.apache.zookeeper.server.ZooKeeperServer)
[2018-05-17 16:20:54,971] INFO Server environment:user.home=/root (org.apache.zookeeper.server.ZooKeeperServer)
[2018-05-17 16:20:54,971] INFO Server environment:user.dir=/root/app/kafka (org.apache.zookeeper.server.ZooKeeperServer)
[2018-05-17 16:20:55,001] INFO tickTime set to 3000 (org.apache.zookeeper.server.ZooKeeperServer)
[2018-05-17 16:20:55,001] INFO minSessionTimeout set to -1 (org.apache.zookeeper.server.ZooKeeperServer)
[2018-05-17 16:20:55,001] INFO maxSessionTimeout set to -1 (org.apache.zookeeper.server.ZooKeeperServer)
[2018-05-17 16:20:55,022] INFO binding to port 0.0.0.0/0.0.0.0:2181 (org.apache.zookeeper.server.NIOServerCnxnFactory)
springboot微服务开发的,服务和服务之间的接口用kafka消息队列可以实现吗?
我用kafka启动一个producer服务部署在tomcat上面,发送完消息,服务就停止了?