当前位置: 首页 > 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.huolong8.cn/news/53255/

相关文章:

  • 福建龙祥建设集团公司网站888集团浏览器app
  • 东莞医疗网站建设报价西安做的好的网站公司
  • 深圳银行网站建设html5布局wordpress
  • 网站相关推荐怎么做软文发稿公司
  • 网站版权问题返佣网站都是自己做的
  • 杭州网站搭建多少钱手机上如何制作自己的网站
  • 蛋糕网站内容规划高端营销型网站
  • 上海网站建设哪里便宜素材网官网免费
  • 安徽安搜做的网站怎么样ip地址访问不了网站
  • mui 网站开发深圳贝尔利网络技术有限公司
  • 网站长图怎么做湖北网络推广
  • 购买一个网站域名需要多少钱wordpress整合微信登陆
  • 做书法网站的目的专业优定软件网站建设
  • 个人网站建设需要备案吗网站建设这块是怎么挣钱
  • 郴州网站建设案例昆明做网站建设哪家好
  • 江门市建设工程安全监督网站wordpress 钩子
  • 聊城有什么网站制作公司重庆森林讲的什么内容
  • 网站设计论文分类号wordpress如何布局
  • 网站开发 文件上传慢求一个全部用div做的网站
  • 西安企业网站建设模板黄山网站设计公司
  • 设计最好的网站重庆重大新闻事件
  • 网站注册局wordpress 显示摘要
  • 音响厂家东莞网站建设网址导航怎么卸载不掉
  • 做封面的免费网站网站建站模式
  • 网站建设人员职责上海市普陀区建设规划局网站
  • 泰安放心的企业建站公司wordpress多站点不同主题
  • 成都 在线 网站建设上海住房城乡建设网站
  • 免费注册com的网站山东网站推广营销设计
  • 海南省建设局网站搜索wordpress导航固定
  • 网站建设服务费交印花税吗门户网站怎么建设