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

iis做网站之vps企业用什么做网站

iis做网站之vps,企业用什么做网站,金融行业网站建设,专业网站开发技术目录 1 Avro与Schema Registry2 搭建Schema Registry2.1 下载Confluent并解压2.2 设置环境变量2.3 修改配置2.4 启动服务 3 API列表 1 Avro与Schema Registry Apache Avro 是一种高效的数据序列化系统#xff0c;用于在不同的应用程序和平台之间传输和存储数据。它提供了一种… 目录 1 Avro与Schema Registry2 搭建Schema Registry2.1 下载Confluent并解压2.2 设置环境变量2.3 修改配置2.4 启动服务 3 API列表 1 Avro与Schema Registry Apache Avro 是一种高效的数据序列化系统用于在不同的应用程序和平台之间传输和存储数据。它提供了一种紧凑且高效的二进制数据编码格式相比其他常见的序列化方式Avro能够实现更快的序列化和更小的数据存储。 而Confluent Schema Registry是由Confluent公司提供的一个开源组件旨在解决分布式系统中的数据模式演化和兼容性的问题。它是建立在Apache Avro之上的一个服务可以用于集中管理和存储Avro数据的模式Schema确保分布式系统中的数据一致性和兼容性。它广泛应用于事件流处理平台如Kafka为数据流的可靠性和互操作性提供了支持。 2 搭建Schema Registry 2.1 下载Confluent并解压 curl -O https://packages.confluent.io/archive/7.4/confluent-community-7.4.3.tar.gz sudo tar xvf confluent-community-7.4.3.tar.gz -C /usr/local/bin2.2 设置环境变量 vim ~/.bashrc添加 export SCHEMA_REG_HOME/usr/local/bin/confluent-7.4.3 export PAHT$PAHT:${SCHEMA_REG_HOME}/bin source ~/.bashrc2.3 修改配置 获取本机IP ip addr修改配置文件 vim /usr/local/bin/confluent-7.4.3/etc/schema-registry/schema-registry.propertieslistenershttp://172.26.143.96:8081 kafkastore.bootstrap.serversPLAINTEXT://172.26.143.96:9092 2.4 启动服务 schema-registry-start $SCHEMA_REG_HOME/etc/schema-registry/schema-registry.properties调用API curl -X GET http://172.26.143.96:8081/subjects curl -X GET http://172.26.143.96:8081/subjects/product-value/versions curl -X GET http://172.26.143.96:8081/schemas/ids/33 API列表 更多信息可参考 Confluent Schema Registry开发指南 # Register a new version of a schema under the subject Kafka-key $ curl -X POST -H Content-Type: application/vnd.schemaregistry.v1json \--data {schema: {\type\: \string\}} \http://localhost:8081/subjects/Kafka-key/versions{id:1}# Register a new version of a schema under the subject Kafka-value $ curl -X POST -H Content-Type: application/vnd.schemaregistry.v1json \--data {schema: {\type\: \string\}} \http://localhost:8081/subjects/Kafka-value/versions{id:1}# List all subjects $ curl -X GET http://localhost:8081/subjects[Kafka-value,Kafka-key]# List all schema versions registered under the subject Kafka-value $ curl -X GET http://localhost:8081/subjects/Kafka-value/versions[1]# Fetch a schema by globally unique id 1 $ curl -X GET http://localhost:8081/schemas/ids/1{schema:\string\}# Fetch version 1 of the schema registered under subject Kafka-value $ curl -X GET http://localhost:8081/subjects/Kafka-value/versions/1{subject:Kafka-value,version:1,id:1,schema:\string\}# Fetch the most recently registered schema under subject Kafka-value $ curl -X GET http://localhost:8081/subjects/Kafka-value/versions/latest{subject:Kafka-value,version:1,id:1,schema:\string\}# Delete version 3 of the schema registered under subject Kafka-value $ curl -X DELETE http://localhost:8081/subjects/Kafka-value/versions/33# Delete all versions of the schema registered under subject Kafka-value $ curl -X DELETE http://localhost:8081/subjects/Kafka-value[1, 2, 3, 4, 5]# Check whether a schema has been registered under subject Kafka-key $ curl -X POST -H Content-Type: application/vnd.schemaregistry.v1json \--data {schema: {\type\: \string\}} \http://localhost:8081/subjects/Kafka-key{subject:Kafka-key,version:1,id:1,schema:\string\}# Test compatibility of a schema with the latest schema under subject Kafka-value $ curl -X POST -H Content-Type: application/vnd.schemaregistry.v1json \--data {schema: {\type\: \string\}} \http://localhost:8081/compatibility/subjects/Kafka-value/versions/latest{is_compatible:true}# Get top level config $ curl -X GET http://localhost:8081/config{compatibilityLevel:BACKWARD}# Update compatibility requirements globally $ curl -X PUT -H Content-Type: application/vnd.schemaregistry.v1json \--data {compatibility: NONE} \http://localhost:8081/config{compatibility:NONE}# Update compatibility requirements under the subject Kafka-value $ curl -X PUT -H Content-Type: application/vnd.schemaregistry.v1json \--data {compatibility: BACKWARD} \http://localhost:8081/config/Kafka-value{compatibility:BACKWARD}
http://www.sadfv.cn/news/53255/

相关文章:

  • 环保设备网站建设方案腾讯云网站建设教程视频
  • 企业网站模板源码有哪些做外贸不能访问国外网站怎么办
  • 容桂低价网站建设WordPress主题在线生成
  • 珠海市网站开发公司电话中国建设传媒网官网
  • 优化网站要怎么做wordpress 存储空间
  • 佛山网站建设网站建设商业网络
  • 天津网站建设企业系统网站改版的宣传词
  • 网站建设linux网站建设市场多大
  • 网站项目建设措施小礼品网络定制
  • 高州市荷花镇网站建设河池市城乡住房建设厅网站
  • 哪个网站做团购要求低点北京住房及城乡建设部网站
  • 广东上海专业网站建设公司苏州发布通告
  • 河南做网站公司哪家好免费开源网店系统有哪些
  • 丰台石家庄网站建设太原网站建设晋icp备
  • 泰兴市住房和建设局网站外贸网站建设定做
  • 沈阳网站关键词优化公司北京网站建设推
  • 凡科建站怎么保存网站WordPress pwa
  • 青岛网站建设制作控制台网站
  • 爱搜索中级网站建设wordpress阿里百秀4.1
  • 专业网站设计开发互动营销经典案例
  • 酒店网站 方案琪歌 wordpress
  • seo网站快速整站优化技术建筑设计师要学什么专业
  • 视频设计师是干什么的长沙seo工资
  • 企业电子商务网站建设规划报告wordpress获取页面tag
  • 做网站的如何找客户帝舵手表官方网站
  • 如何向百度提交站点收录信息网络培训平台
  • 招聘网站做精准 置顶哈尔滨市土地局
  • 网站程序是什么?网站优化 无需定金
  • 成品网站1688网页公众号里的电影网站怎么做的
  • 义乌高端网站建设乐云seo可视化网站建设