今天连搭了zookeeper和kafka的环境,并部署成功,但在.net驱动的操作下,没有消费成功,原因何在?

  1. 防火墙
  2. zookeeper没运行?
  3. kafka没有公开IP?

第一感觉也就是这向个原因了,于是自己调试了一下,最后分别进行了验证

防火墙

systemctl status firewalld

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqMAAACTCAIAAAA1GIe7AAAgAElEQVR4nO2dS6xuSVXHv+77vt2Bcx/d99xG+pzuc1/t9dzT5+7b3DBwpBME0iB2YmTLTCKdbhR8DM2OE6NGWppAHMhzI5jWgTAyyoiwE1+oiBgDBI3hgyZKwgTDTAfft3dVrVqratV+f+f8f+mk71enaq1Vz1VVe++qxaIhL5dlviBkRVWH5uVyWRXZYrHIirLIvL8zP0PQqOZ3Xq71kMAmlEmfFVXzVyt9HTFmVFZUjqyVACPIzruoiED+uipetjxpBuK4sRuDWyV3U+elVVhC0RFbrYbjyqLJeTvF5IxaPnkdSOvDL9MO7TMib627jrLOlK5WaXkWVgNbi5dLpnUdda13zqTObQkAMDB5uSSUuR1clq4HtiMxUuIDah3VHoKWy6Xr0etASzs1lA6pLTw9kepZZLR39PRCeSaMeG7uy5wvj4TkJDBcdGxyO5RO3qwA0U4hedBy6kNIatFOtVtReXqv0aZ6etZOkyFrDiNVcZc66lLvkkld2xIA4DjDbjkAAAAAYKNpHhSkLMcAAAAAsDHUW5nw8wAAAAAAAAAAAAAAAACOLfSF+JHwXzceSub0n/Wsi/gIP44YojbHh3tulPCZXjeljtp4eeI1FgBAAgMMGQm+dYgBy//orrOK7jImnG8MoZqX2a029XYOU5iTfuzBFl2gPOHpAQAJjOXp+S/yj7OnN59iDztmw9Nr1cPTAwCOJsyQkRVVVRSls38YPOXGBArHa9hHaTkHafnaWUXcYSlGFZHAefo6N9wOKbtrqjnDJAXGOa09fGQpyZhEclj/SjHe3R7OiqqqquVydbqPVCTMqTut5m16O5kqZmMKpxtxRRezyIpsjlHKSWSvd9Dtdr+212ZpG60UyJwrBQAAUXhPL55EK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UXadmp6Nqkdwzm6QEAbVAtB4ZCNT6ZeD1vBGroMk0GPTBp+wQAgKMABtIw8PTTgvYJAABdyHEjahR4+ulA+wQAAAAAAGBW/B/3HwAAAJCA9gWfnjHvKfa3p8fLnH7bsMO7UfD0AAAAutL/d/opvnUA7cxXCp1VdJfRUgI8PQAAgK6M5en5b9Qdu68AAAGpSURBVI6Ps6c3H1zKsuHpAQAAdIXxtfYhF965vsxhTOztoY5Tp+cb2EerEO3pp7IwB4l4nn68O14F2MOf7JMVeODpAQAAdIX39OKRolZ0NnD9h9BBivZPqp2XGT55MXROY52b1d+tmMKRhPbJUu3ueBVwJNDZg/wQH54eAABAVwRPLxxubS1B2cA6uiOy/ut6xVxVoqePKtJkISzTO7vYVcR7XJ2nJy83ZkUhl8kiU915D08PAACgK9LufSYE2M5SOKqXpLcOAK6KLLimjypyjeKXxKky2aPjva0GxfHbhclUVML6d0wwPD0AAICuKD19hzU99fR27NZr+sB0QenpBeNZIb3u3uv37uHpAQAAdEfj6dOf09MH5/buvf1eG42qfk5vJYzcUcgv3/nn9Gl3vKZAynRdJMG38RYLeHoAAADdUXl69bv3Rqjt0UPf0m3wHa8puGVqbjKMiIOnBwAA0JVRzsg73nfs4ow8AAAAxwHzePrYuvx04OkBAACAoww8PQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAo+X+9syNUCv0sAQAAAABJRU5ErkJggg==" alt="" />

zookeeper没运行?

netstat -tunlp|egrep 2181
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAokAAABVCAIAAACq1ukLAAAPlUlEQVR4nO2dy5GkOBRF8aE9aAs6gt1EOdAG9I712IEJ4wM+jAdYMeuyo2dRCUh69wmJJIFszomJmC6lPk/fiySQmuaLbvgc+7Zplj+H7uv/XwxD6KHtx9B3hrYfpxg64xS6FgafDbLh235M4xOpB25xFkzwMKnAPSmpFaZIpgjm1KM4hJ1OyZs4w6oITVMJBSWflPuSWqY+/OBp2dUkF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LU/IhMAAABfXGWD8ynQZgAA+BNwvrQCAAAAgLflt/oPAAD+cE462U++Z/eSOM9fkO/EG+6FoM0AAHfkBRviFWr4iu34JM49tPn5ODbGgDYDANyRo7RZX8N5Z21ezrL140abAQDuiFDH+Iap+fRsuVyc+Rw+kOHwzJbw2FORukxIndThXtSltLm3b+aphIIHiPT0dPFgUYPQZnW1WQraDABwR7Q2C2k0J6BJx8cPuTO6c+eR6jjFMaKNCiPjDI5MCnyqhKKI2n6INHvPebM9/cdbPUCbAQDuiKPN5kxTc9eFd8ulVbLp18esdBxdbV5NqCQL+TiXZQCZUMGp6Dk74sWC3i+T6TzclZjRZgCAO+KtabeOg7wjMo7E3r01Ld6OfZudN5dcRhn41dPO2jhD/87r4yXavEixei/buYtzLWK0GQDgjhRq8xPz5lSbQ9+b580ZgS/UZsd4Gcmua9rlK9poMwDAPSnR5vr95nQDOFzTDt+oSr0W7zdnLuqy29siIr3fPITzZ2eLfBv2zpPHdeD5aNFmAIA7UqTNxe9pL5GGGpz7Uio9+6T+PW17UVcU5+rytX5PO9FMe5NmHXGZPjS5De9glaDNAAB35JBzwe59vSznggEAwDVZtllvK9L1oM0AAADXAm0GAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAM/gfstJu5tateMoAAAAASUVORK5CYII=" alt="" />

kafka没有公开IP?

$ vi server.properties

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAk0AAACZCAIAAAC9qJkfAAAYLklEQVR4nO2dS7asKBBFc05Ox8E4F8fiWtWsRk0h51GN9MPnBAapaXrJvTvvPhKIAIEjqPD4799//vv3nwcAAECToHMAANAy6BwAALQMOgcAAC2DzgEAQMugc9AI3TBNQ/dtL/4y3TA9x/7bXgCcDjoHN6IbpudCrWhV6pw3+hGXPkSNS7KY3BLAb1HSuaU39GPQKQgk8KzAlH58xkmqJh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Ulqoc74porRuzue8OpdmYD5/2vJcxKpa59bKzJ8fesZA/5pl8Yds0uwff9M54htrd/t+Zi7dI8843f7jvbcrGQC8VOucVrR0VfFvHJdToXMFibJ0btHGSp0LR7t45POtW1asWc4ZRCN51aEtvqeDQQUtWWUFS15L2svTWpv+Zp6cjANwU97YD2V5XLE+zhKricH0J3/IlIRncQ2dM3IVd8m29awkUhL2Z37Bg5dkipdK4I0PwYkdCBZl4ymrvsLaus4zDF1jhzHDYnnytFz6bp56tXwLTd5h8VYyAByEfb+aom7NEgDgB0DnAACgZdA5AABoGXQOAABaBp0DAICWQecAAKBl0DkAAGgZdA4AAFoGnQMAgJZB5wAAoGXQOQAAaBl0DgAAWgadAwCAlkHnAACgZdA5AABoGXQOAABaBp0DAICWQecAAKBh/gcR8KckPYBleAAAAABJRU5ErkJggg==" alt="" />

通过查看kafka的服务配置文件我们找到了答案,它原来只公开了localhost,而我们的程序是部署到虚拟机上的,所以localhost是访问不通过的,即你的消息者无法消费,而这时我们需要把这个配置文件修改一下,把listeners的绑定IP添加成虚拟机真实的IP,然后重启我们的kafka,就可以了!

bin/kafka-server-stop.sh

bin/kafka-server-start.sh config/server.properties &

最后再次进行C#客户端的测试,令我们心喜的结果自然就出来了!

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUUAAADcCAIAAABoCCQ1AAATbklEQVR4nO2d+ZMVVZbH69em7Wm1tbvFGUcBEUXZZFFZBRSbvYASKVpFW2dEkaUKZVGgEESgUHABbbDVRhbRVmaiOyZiIiCC36ZdOmKI6Ij+B3qKnokR2awFcHJ+OK8u18y7nHszXz3qvO8n7g+ZJ88595yb+SXfRmVNAgCQQs2f//OPGBgYMgb0jIEhZ9T06PN0zvHDm5/+4c3P0Lii7zNX9F10Rd9FV9yy6Eel8eyP+j37dzRuXfxjNW5bciWN/kuu7L/kqv5Lr+q/9Krbl151+9Krb1929R3Lrr5j2U9oDGj4yYCGawY0XDOw4ZqBjdcMbLx2YOO1gxqvHbT82k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olEzz/2T1F1u4u2ztLkH/EujnSGuvPU4YjxG1Pn8V8es4ZKAo8/9lbvHtqTknR/tHrZkzLD2GW4QjhJwzK4yA6UBR4/rPNyLwEjT06ooL849bBUaRjl1mndx1sRmb97vVh5q9e8Pxn26GazLVlm5SzDsbWOP6h68Zp2Ta1ty9vBkeSiBBvU+481Qie/1zl4HyJAs9/BkAO+P02AHKAngGQA/QMgBygZwDkAD0DIAfoGQA5QM8AyAF6BkAO0DMAcoCeAZAD9AyAHKBnAOQAPQMgB+gZADlAzwDIAXoGQA7QMwBygJ4BkAP0DIAcoGcA5AA9AyAHPP+5rP2GJi9fMRH9hv597MpePNVw3fqR9LzYIArs1xFru+6D/POTSsuZRfnYYpn2uGojQqrhovUjSc9BJ7WofkNjK7K22WbdNTj0b4stqq+IPMc08hfQvcHznzn96habc0S/Xn9mHn6zzCjjdMZDtpBC+opozesvHDz/2ZbH1pdjibxJQv2LWge9eE6It3ejg80eVD+nHW/+6gXPf3ZPkbW7y/bOEuQfsW6OtMb685ThCHHb02cxn55tqaoRPP/ZW7x7ak5J0f7R62ZMyw9hluEI4ScMyuMgOlAUeP6zzci8BI09OqKC/OPWwVGkY5dZp3cdbEZm/e71cRDqLxM8/9l2qCZzbdkm5ayDsTWOf+i6cVq2Te3ty5vBkSQixNsUJ1t1gec/Vzk4X6LA858BkAN+vw2AHKBnAOQAPQMgB+gZADlAzwDIAXoGQA7QMwBygJ4BkAP0DIAcoGcA5AA9AyAH6BkAOUDPAMgBegZADtAzAHKAngGQA/QMgBygZwDkAD0DIAfoGQA5QM8AiOH/AfOMH3A2tCimAAAAAElFTkSuQmCC" alt="" />

查看所有topic列表

bin/kafka-topics.sh --zookeeper localhost:2181 --list

 查看指定topic信息

bin/kafka-topics.sh --zookeeper localhost:2181 --describe --topic test

希望通过这篇文章,让大家对kafka,zookeepr,centos有一个学习与了解!

感谢各位的阅读!

Kafka~HelloWorld得来不易的更多相关文章

  1. kafka "HelloWorld"实践

    前面我们分别介绍了kafka的相关基本原理,kafka的集群服务器搭建以及kafka相关的配置,本文综合前面的理论知识,运用kafka Java API实现一个简单的客户端Demo. 开发环境 操作系 ...

  2. Linux~学习笔记目录索引

    回到占占推荐博客索引 本篇文章是对自己学习Linux及在它的环境下部署工具的一个总结,以方便自己查阅,也给他人一个帮助,本文章同时会不断的更新,欢迎大家订阅! 本目录包括的内容会包括linux基础命令 ...

  3. Cesium原理篇:3最长的一帧之地形(3:STK)

    有了之前高度图的基础,再介绍STK的地形相对轻松一些.STK的地形是TIN三角网的,基于特征值,坦白说,相比STK而言,高度图属于淘汰技术,但高度图对数据的要求相对简单,而且支持实时构建网格,STK具 ...

  4. App如何适应 iPhone 5s/6/6 Plus 三种屏幕的尺寸?

    来自//www.cocoachina.com/ 初代 iPhone 2007 年,初代 iPhone 发布,屏幕的宽高是 320 x 480 像素.下文也是按照宽度,高度的顺序排列.这个分辨率一直到 ...

  5. (转)工作之路---记录LZ如何在两年半的时间内升为PM

    原文地址:http://www.cnblogs.com/zuoxiaolong/p/life31.html 引言 之前的伪PM纠结之路已经渐渐结束,LZ也终于正式爬上了PM的位置,对于LZ来说,这个时 ...

  6. 你早该这么玩Excel 读书笔记

    1. Excel用来分析数据,至少要有一份原始数据和对于的分类汇总数据,这两种数据在一项任务中,应该是存放在同一个Excel文档中的,在书籍中,把他们叫做源数据表和分类汇总表.用户输入源数据表,根据相 ...

  7. APP 如何适应 iPhone 5s/6/6Plus 三种屏幕的尺寸

    初代iPhone 2007年,初代iPhone发布,屏幕的宽高是 320 x 480 像素.下文也是按照宽度,高度的顺序排列.这个分辨率一直到iPhone 3GS也保持不变. 那时编写iOS的App( ...

  8. iOS 的 APP 在系统中如何适配不同的屏幕的尺寸

    iOS 的 APP 在系统中如何适配不同的屏幕的尺寸 标签: 2007年,初代iPhone发布,屏幕的宽高是 320 x 480 像素.下文也是按照宽度,高度的顺序排列.这个分辨率一直到iPhone ...

  9. iOS 的 APP 如何适应 iPhone 5s/6/6Plus 三种屏幕的尺寸?(转)

    原文:http://www.niaogebiji.com/article-4379-1.html?utm_source=tuicool 初代iPhone 2007年,初代iPhone发布,屏幕的宽高是 ...

随机推荐

  1. 小程序开发过程中常见问题[微信小程序、支付宝小程序]

    目录 一.样式中如何使用background-image呢? 二.使用自适应单位rpx类似于rem,布局尽量使用flex布局 三.万能的{{双大括号,用于在模版中输出变量 四.你想要的基础组件和API ...

  2. Git是什么、Git的功能、为什么versioncontrol用Git、Git的常用命令、Git的优缺点

    Git是什么 git是目前世界上最先进的分布式版本控制系统(没有之一). Git是用于 Linux内核开发的版本控制工具.与常用的版本控制工具 CVS, Subversion 等不同,它采用了分布式版 ...

  3. pip install

    pip install <包名> 或 pip install -r requirements.txt 通过使用 == >= <= > < 来指定版本,不写则安装最新 ...

  4. nodejs, 阿里oss上传下载图片

    const archiver = require('archiver')const send = require('koa-send')const oss = require('ali-oss').W ...

  5. fiddler 应用

    一   pc 端抓取 例:本地调试代码,转换域名,请求网络数据 1:设置代理,以smart header 为例 ip为 127.0.0.1 端口与自己的fillder一致,注意将不代理的地址列表做修改 ...

  6. QT—QTextEdit控件显示日志

    功能:利用QTextEdit开发一个日志显示窗口.没有太多操作,需要实现的是日志自动向上滚动,总体的日志量可以控制在x行(比如300行)以内:其他的应用功能我后面继续添加 #include <Q ...

  7. 登录RabbitMQ的方法

    一:(运行RabbitMQ之前需要先打开docker 容器)打开相应的路径,在windows Powershell 管理员下打开 输入:docker-compose -f .\docker-compo ...

  8. 关于Python2 与 Python3 的区别

    Python是一门动态解释性的强类型定义语言. 1.Python2 : ①.臃肿,源代码的重复量很多.   ②.语法不清晰,掺杂着C,php,Java的一些陋习. Python3 : 几乎是重构后的源 ...

  9. cadence布线完成后的补充操作

    完成布线之后,需要生成光绘文件和钻孔文件,在生成钻孔文件之前,还有几点补充!

  10. Python练手例子(14)

    79.字符串排序. #python3.7 if __name__ == '__main__': str1 = input('Input string:\n') str2 = input('Input ...