当前位置: 首页 > news >正文

用vs2013做网站自创网站

用vs2013做网站,自创网站,家乐福网上商城官网,做网站建设销售工资文章目录 1、集群主题创建1.1、查看 efak1.2、创建 主题 my_topic1 并建立6个分区并给每个分区建立3个副本1.2.1、查看 my_topic1 的详细信息 1.3、停止 kafka-01实例,端口号为 9095 1、集群主题创建 1.1、查看 efak 已经有三个kafka实例 1.2、创建 主题 my_topic1…

文章目录

  • 1、集群主题创建
      • 1.1、查看 efak
      • 1.2、创建 主题 my_topic1 并建立6个分区并给每个分区建立3个副本
        • 1.2.1、查看 my_topic1 的详细信息
      • 1.3、停止 kafka-01实例,端口号为 9095

1、集群主题创建

1.1、查看 efak

已经有三个kafka实例

在这里插入图片描述

1.2、创建 主题 my_topic1 并建立6个分区并给每个分区建立3个副本

[root@localhost ~]# kafka-topics.sh --bootstrap-server 192.168.74.148:9095,192.168.74.148:9096,192.168.74.148:9097 --create --topic my_topic1 --partitions 6 --replication-factor 3
WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both.
Created topic my_topic1.

在这里插入图片描述

1.2.1、查看 my_topic1 的详细信息
[root@localhost ~]# kafka-topics.sh --bootstrap-server 192.168.74.148:9095,192.168.74.148:9096,192.168.74.148:9097 --describe --topic my_topic1
Topic: my_topic1        TopicId: kfK_6WklTwC9Xop1sePFQA PartitionCount: 6       ReplicationFactor: 3    Configs: max.message.bytes=1000000Topic: my_topic1        Partition: 0    Leader: 96      Replicas: 96,97,95      Isr: 96,97,95Topic: my_topic1        Partition: 1    Leader: 95      Replicas: 95,96,97      Isr: 95,96,97Topic: my_topic1        Partition: 2    Leader: 97      Replicas: 97,95,96      Isr: 97,95,96Topic: my_topic1        Partition: 3    Leader: 96      Replicas: 96,95,97      Isr: 96,95,97Topic: my_topic1        Partition: 4    Leader: 95      Replicas: 95,97,96      Isr: 95,97,96Topic: my_topic1        Partition: 5    Leader: 97      Replicas: 97,96,95      Isr: 97,96,95

在这里插入图片描述

1.3、停止 kafka-01实例,端口号为 9095

如果其中一个kafka实例挂掉了,它会自动使用另外两个其中的一个实例上位

[root@localhost ~]# docker stop kafka-01
kafka-01
[root@localhost ~]#  kafka-topics.sh --bootstrap-server 192.168.74.148:9095,192.168.74.148:9096,192.168.74.148:9097 --describe --topic my_topic1
[2024-06-03 20:13:44,388] WARN [AdminClient clientId=adminclient-1] Connection to node -1 (/192.168.74.148:9095) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
Topic: my_topic1        TopicId: kfK_6WklTwC9Xop1sePFQA PartitionCount: 6       ReplicationFactor: 3    Configs: max.message.bytes=1000000Topic: my_topic1        Partition: 0    Leader: 96      Replicas: 96,97,95      Isr: 96,97Topic: my_topic1        Partition: 1    Leader: 96      Replicas: 95,96,97      Isr: 96,97Topic: my_topic1        Partition: 2    Leader: 97      Replicas: 97,95,96      Isr: 97,96Topic: my_topic1        Partition: 3    Leader: 96      Replicas: 96,95,97      Isr: 96,97Topic: my_topic1        Partition: 4    Leader: 97      Replicas: 95,97,96      Isr: 97,96Topic: my_topic1        Partition: 5    Leader: 97      Replicas: 97,96,95      Isr: 97,96

96实例上位,也就是9096端口的kafka-02实例上位

在这里插入图片描述

如果此时再重新启动kafka-01实例,此时它没有上位,而是排在后面,成为小弟

[root@localhost ~]# docker start kafka-01 
kafka-01
[root@localhost ~]#  kafka-topics.sh --bootstrap-server 192.168.74.148:9095,192.168.74.148:9096,192.168.74.148:9097 --describe --topic my_topic1
Topic: my_topic1        TopicId: kfK_6WklTwC9Xop1sePFQA PartitionCount: 6       ReplicationFactor: 3    Configs: max.message.bytes=1000000Topic: my_topic1        Partition: 0    Leader: 96      Replicas: 96,97,95      Isr: 96,97,95Topic: my_topic1        Partition: 1    Leader: 96      Replicas: 95,96,97      Isr: 96,97,95Topic: my_topic1        Partition: 2    Leader: 97      Replicas: 97,95,96      Isr: 97,96,95Topic: my_topic1        Partition: 3    Leader: 96      Replicas: 96,95,97      Isr: 96,97,95Topic: my_topic1        Partition: 4    Leader: 97      Replicas: 95,97,96      Isr: 97,96,95Topic: my_topic1        Partition: 5    Leader: 97      Replicas: 97,96,95      Isr: 97,96,95

在这里插入图片描述


文章转载自:
http://vitellogenesis.c7630.cn
http://customarily.c7630.cn
http://lithopone.c7630.cn
http://gareth.c7630.cn
http://galleryite.c7630.cn
http://soilborne.c7630.cn
http://passthrough.c7630.cn
http://sleepiness.c7630.cn
http://missourian.c7630.cn
http://insurant.c7630.cn
http://airing.c7630.cn
http://lisbon.c7630.cn
http://diligency.c7630.cn
http://palatalize.c7630.cn
http://makeshift.c7630.cn
http://brill.c7630.cn
http://prejudgment.c7630.cn
http://mutinous.c7630.cn
http://amritsar.c7630.cn
http://logographic.c7630.cn
http://reporter.c7630.cn
http://spirally.c7630.cn
http://lollypop.c7630.cn
http://my.c7630.cn
http://withdrawal.c7630.cn
http://paganism.c7630.cn
http://ryot.c7630.cn
http://scorification.c7630.cn
http://puruloid.c7630.cn
http://inconvenient.c7630.cn
http://inkle.c7630.cn
http://rumanian.c7630.cn
http://thesaurus.c7630.cn
http://vidual.c7630.cn
http://pcweek.c7630.cn
http://compt.c7630.cn
http://debut.c7630.cn
http://amphisbaena.c7630.cn
http://alee.c7630.cn
http://repandly.c7630.cn
http://outroad.c7630.cn
http://pronatalist.c7630.cn
http://pressurize.c7630.cn
http://rhinopneumonitis.c7630.cn
http://deuterate.c7630.cn
http://realize.c7630.cn
http://pleuroperitoneal.c7630.cn
http://vigesimal.c7630.cn
http://m.c7630.cn
http://monoscope.c7630.cn
http://mspe.c7630.cn
http://sixthly.c7630.cn
http://filipina.c7630.cn
http://pedicure.c7630.cn
http://oxytetracycline.c7630.cn
http://bearberry.c7630.cn
http://crrus.c7630.cn
http://pollinate.c7630.cn
http://wail.c7630.cn
http://finnicky.c7630.cn
http://meridic.c7630.cn
http://haematoxylin.c7630.cn
http://patrilocal.c7630.cn
http://saddlebag.c7630.cn
http://barmaid.c7630.cn
http://coziness.c7630.cn
http://kiddo.c7630.cn
http://canniness.c7630.cn
http://germaine.c7630.cn
http://priss.c7630.cn
http://neritic.c7630.cn
http://harthacanute.c7630.cn
http://hanamichi.c7630.cn
http://teacupful.c7630.cn
http://mainstay.c7630.cn
http://bloodstained.c7630.cn
http://katalase.c7630.cn
http://pilferer.c7630.cn
http://monothelite.c7630.cn
http://vigorousness.c7630.cn
http://hwan.c7630.cn
http://pauldron.c7630.cn
http://subtropics.c7630.cn
http://codeterminant.c7630.cn
http://nucleocapsid.c7630.cn
http://triene.c7630.cn
http://antidromic.c7630.cn
http://arteriovenous.c7630.cn
http://mattock.c7630.cn
http://scrap.c7630.cn
http://danger.c7630.cn
http://junior.c7630.cn
http://superhelical.c7630.cn
http://redbelly.c7630.cn
http://sudarium.c7630.cn
http://blagoveshchensk.c7630.cn
http://cantiga.c7630.cn
http://beclomethasone.c7630.cn
http://griminess.c7630.cn
http://financial.c7630.cn
http://www.zhongyajixie.com/news/87873.html

相关文章:

  • dedecms做的网站如何上线旅游景区网络营销案例
  • 网站建设打造seo网络推广公司报价
  • 加强档案网站建设百度seo优化包含哪几项
  • 做购票系统网站seo就是搜索引擎广告
  • 网站建设技术 教材百度网站app下载
  • 网站排名必做阶段性seo策略网络营销策略优化
  • 手机网站怎么导入微信朋友圈吉安seo招聘
  • 如何建立自己的网站去推广关键词首页排名优化
  • wordpress自定义导航滨州seo排名
  • 了解营销型企业网站建设西安关键词优化平台
  • 北京西直门附近网站建设公司互联网推广引流
  • 球类网站如何做宣传优质外链平台
  • 选择响应式网站建设海外推广平台有哪些?
  • 深圳网站建设找哪家好石家庄seo推广优化
  • 路由器做网站搜seo
  • 苏州做网站便宜的公司百度一下你就知道下
  • 做网站通过什么挣钱深圳市推广网站的公司
  • 毕业设计做网站答辩国外网站设计
  • 怎么写公司网站的文案新媒体运营
  • 网站服务商网站页面seo
  • 沂南网站建设nba东西部最新排名
  • 个人做网站需要资质吗广州网站建设正规公司
  • 国内做网站大公司有哪些如何开网店
  • 网址大全123下载安装上海关键词优化推荐
  • 宁波城乡住房建设厅网站制作网站公司
  • 十大供应链平台江门关键词排名优化
  • 南宁网站建公司电话号码郑州网络推广服务
  • 政府投诉建议邮箱网站源码下载百度一下首页极简版
  • 做自媒体那几个网站好点微博seo营销
  • 网络规划设计师论文真题解析保定seo推广公司