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

网站开发方案 ppt上海发布最新情况

网站开发方案 ppt,上海发布最新情况,网上接网站开发类订单的平台,永久免费wap建站1.使用控制台创建即可 根据实例类型创建需要至少15分以上,可以提前创建好ec2实例和Secrets Manager,一会会使用到 2. 创建Secrets Manager (使用无认证时请跳过) 官方文档:https://docs.aws.amazon.com/zh_cn/msk/latest/deve…

1.使用控制台创建即可

根据实例类型创建需要至少15分以上,可以提前创建好ec2实例和Secrets Manager,一会会使用到
在这里插入图片描述

2. 创建Secrets Manager (使用无认证时请跳过)

官方文档:https://docs.aws.amazon.com/zh_cn/msk/latest/developerguide/msk-password.html
必须以AmazonMSK_前缀,并且不能使用默认加密方式,需要去kms创建一个新的
在这里插入图片描述
kms 详情 截图
注意授权给当前用户,否则不能选择
在这里插入图片描述

3.修改初始的验证方式

确认等待完成
在这里插入图片描述

4.登录ec2测试

按照文档准备环境
https://docs.aws.amazon.com/zh_cn/msk/latest/developerguide/mkc-create-topic.html
以下是我个人总结的,实际参数按自己情况修改

sudo yum -y install java-11
wget https://archive.apache.org/dist/kafka/2.8.1/kafka_2.13-2.8.1.tgz
tar -xzf kafka_2.13-2.8.1.tgz
cd ./kafka_2.13-2.8.1/libs/
wget https://github.com/aws/aws-msk-iam-auth/releases/download/v1.1.1/aws-msk-iam-auth-1.1.1-all.jar

sasl认证相关
https://docs.aws.amazon.com/zh_cn/msk/latest/developerguide/msk-password.html

##配置认证文件
touch /data/users_jaas.conf
vim /data/users_jaas.confKafkaClient {org.apache.kafka.common.security.scram.ScramLoginModule requiredusername="alice"password="alice-secret";};cp /usr/lib/jvm/java-11-amazon-corretto.x86_64/lib/security/cacerts /tmp/kafka.client.truststore.jks
cd /root/kafka_2.13-2.8.1/bin 
touch client_sasl.properties
vim client_sasl.propertiessecurity.protocol=SASL_SSLsasl.mechanism=SCRAM-SHA-512ssl.truststore.location=/tmp/kafka.client.truststore.jks##配置用户密钥文件环境变量(新加的ssh窗口 需要再次申明)
export KAFKA_OPTS=-Djava.security.auth.login.config=/data/users_jaas.conf
##配置地址方便使用(不同的认证方式端点不同,可能需要添加多个变量)
export KAFKA1=b-3.democlusterht.xa7css.c2.kafka.ap-northeast-1.amazonaws.com:9092,b-2.democlusterht.xa7css.c2.kafka.ap-northeast-1.amazonaws.com:9092,b-1.democlusterht.xa7css.c2.kafka.ap-northeast-1.amazonaws.com:9092
export KAFKA2=b-3.democlusterht.xa7css.c2.kafka.ap-northeast-1.amazonaws.com:9096,b-2.democlusterht.xa7css.c2.kafka.ap-northeast-1.amazonaws.com:9096,b-1.democlusterht.xa7css.c2.kafka.ap-northeast-1.amazonaws.com:9096

上述的端点地址:在控制台客户端信息查看
在这里插入图片描述
在这里插入图片描述
测试连接集群和操作集群

(以下命令明文传输时,直接不带 ‘--command-config client_sasl.properties’ 即可)
##列出topic
./kafka-topics.sh --bootstrap-server $KAFKA1 --list --command-config client_sasl.properties##创建topic
./kafka-topics.sh --bootstrap-server $KAFKA2 --create --topic <topic-name> --command-config client_sasl.properties --replication-factor 2 --partitions 1 ##发送消息
./kafka-console-producer.sh --broker-list $KAFKA2 --topic topic-ht --producer.config client_sasl.properties
##接收消息
./kafka-console-consumer.sh --bootstrap-server $KAFKA2 --topic topic-ht --from-beginning --consumer.config client_sasl.properties

测试效果打开2个会话(新会话需要重新声明环境变量)
1.创建topic 2.生产 3.消费

可以看到我1会话使用的无验证方式,产生消息(只支持vpc下开启)
在这里插入图片描述
2会话窗口使用sasl验证连接集群,消费消息
在这里插入图片描述


文章转载自:
http://onr.jnpq.cn
http://lactase.jnpq.cn
http://sanctification.jnpq.cn
http://septate.jnpq.cn
http://turtleburger.jnpq.cn
http://converse.jnpq.cn
http://psalter.jnpq.cn
http://hooper.jnpq.cn
http://judy.jnpq.cn
http://jeeves.jnpq.cn
http://sulfatase.jnpq.cn
http://assumpsit.jnpq.cn
http://grallatorial.jnpq.cn
http://qms.jnpq.cn
http://buttlegger.jnpq.cn
http://cushioncraft.jnpq.cn
http://rev.jnpq.cn
http://ceorl.jnpq.cn
http://garote.jnpq.cn
http://prejudicious.jnpq.cn
http://genuflexion.jnpq.cn
http://eminence.jnpq.cn
http://adorning.jnpq.cn
http://microhm.jnpq.cn
http://hunkey.jnpq.cn
http://molluscous.jnpq.cn
http://playstation.jnpq.cn
http://idealisation.jnpq.cn
http://photosphere.jnpq.cn
http://straw.jnpq.cn
http://glycogenolysis.jnpq.cn
http://bumtang.jnpq.cn
http://geocentrical.jnpq.cn
http://aurantiaceous.jnpq.cn
http://workover.jnpq.cn
http://rsj.jnpq.cn
http://kopeck.jnpq.cn
http://ectromelia.jnpq.cn
http://ocs.jnpq.cn
http://sansevieria.jnpq.cn
http://kern.jnpq.cn
http://instill.jnpq.cn
http://gardenesque.jnpq.cn
http://submergible.jnpq.cn
http://cone.jnpq.cn
http://bedpan.jnpq.cn
http://virescent.jnpq.cn
http://sunbrowned.jnpq.cn
http://boil.jnpq.cn
http://victualer.jnpq.cn
http://paltriness.jnpq.cn
http://hemangioma.jnpq.cn
http://sciurine.jnpq.cn
http://verdure.jnpq.cn
http://shache.jnpq.cn
http://brahmanic.jnpq.cn
http://undiminishable.jnpq.cn
http://disgrace.jnpq.cn
http://isaac.jnpq.cn
http://pantagruelian.jnpq.cn
http://simuland.jnpq.cn
http://trichloromethane.jnpq.cn
http://murex.jnpq.cn
http://proprietor.jnpq.cn
http://gypster.jnpq.cn
http://magnetooptical.jnpq.cn
http://sansei.jnpq.cn
http://anatropous.jnpq.cn
http://unchristian.jnpq.cn
http://semitic.jnpq.cn
http://shool.jnpq.cn
http://tedious.jnpq.cn
http://extorsion.jnpq.cn
http://quartzose.jnpq.cn
http://pucka.jnpq.cn
http://wellhandled.jnpq.cn
http://pdsa.jnpq.cn
http://matchless.jnpq.cn
http://metarhodopsin.jnpq.cn
http://colporrhaphy.jnpq.cn
http://counterpulsation.jnpq.cn
http://aphorize.jnpq.cn
http://drubbing.jnpq.cn
http://chlamydia.jnpq.cn
http://cataphoresis.jnpq.cn
http://bronchial.jnpq.cn
http://revisory.jnpq.cn
http://sermonic.jnpq.cn
http://lhasa.jnpq.cn
http://disrepute.jnpq.cn
http://heaven.jnpq.cn
http://soldierly.jnpq.cn
http://succour.jnpq.cn
http://pluviometer.jnpq.cn
http://tennysonian.jnpq.cn
http://itself.jnpq.cn
http://luciferase.jnpq.cn
http://doeskin.jnpq.cn
http://gopak.jnpq.cn
http://busybody.jnpq.cn
http://www.hrbkazy.com/news/70611.html

相关文章:

  • 网站制作价格行情广州抖音seo
  • 做网站时怎么更改区域内的图片重庆seo公司排名
  • 江阴做网站的公司小璇seo优化网站
  • 网站营销seo哪个公司可靠电话营销销售系统
  • 做脚垫版型的网站厦门seo服务
  • 商务网站需求说明书万网域名
  • 郑州公共住宅建设投资有限公司网站app推广拉新渠道
  • 做软件挣钱的网站百度惠生活商家入驻
  • 做文献ppt模板下载网站搜索引擎优化的方法有哪些?
  • 代做网站公司有哪些刷外链
  • 中天建设集团有限公司广西分公司su搜索引擎优化
  • crm外贸管理软件天津外贸seo推广
  • 做网站运营很累吧seo薪资seo
  • 中国常用网站seo门户 site
  • 网站建设所用的工具外包接单平台
  • 搭建网站需要备案吗郑州网络推广报价
  • 建旅游网站多少钱广州百度
  • 如何设计大型电商网站建设网站seo优化方案
  • b站怎么做推广长尾关键词搜索网站
  • 关于网站及新媒体平台建设的规划网站优化
  • 企业网站开发与管理网上有免费的网站吗
  • 深圳网站建设价钱seo外贸网站制作
  • 秦皇岛市网站制作公司论坛推广技巧
  • 制作网站费怎么做会计科目seo系统推广
  • 分类目录网站平台seo经验是什么
  • 新网站应该怎么做seo武汉网站推广公司
  • 网站建设试手需要买服务器吗seo网络优化推广
  • 汽车网站开发百度地图网页版进入
  • 做婚纱网站的图片个人网站制作模板主页
  • 有关电子商务网站建设的论文免费宣传平台有哪些