asyn python rest客户端与模式注册中心合流服务器交互以管理avro模式

async-python-schema-registry-client的Python项目详细描述


#异步python rest客户端架构注册表

[![生成状态](https://travis-ci.org/marcosschroh/async-python-schema-registry-client.svg?branch=master)](https://travis-ci.com/marcosschroh/async-python-schema-registry-client.svg?分支=主) [![github许可证](https://img.shields.io/github/license/marcosschroh/async-python-schema-registry-client.svg)](https://github.com/marcosschroh/async-python-schema-registry-client/blob/master/LICENSE) [![codecov](https://codecov.io/gh/marcosschroh/async-python-schema-registry-client/branch/master/graph/badge.svg)](https://codecov.io/gh/marcosschroh/async-python-schema-registry-client) [![python版本](https://img.shields.io/badge/python-3.6%20%7C%203.7-blue.svg)](https://img.shields.io/badge/python-3.6%20%7C%203.7-blue.svg

异步python rest客户机与[schema registry](https://docs.confluent.io/current/schema-registry/index.html)合流服务器交互以管理[avro schemas](https://docs.oracle.com/database/nosql-12.1.3.1/GettingStartedGuide/avroschemas.html)资源。

##要求

python 3.6+,fastavro>;=0.22.3,请求异步>;=0.4.1,aiofiles>;=0.4.0

##安装

` pip install async-python-schema-registry-client `

##客户机API、序列化程序、Faust集成和架构服务器描述

文档:[https://marcosschroh.github.io/async-python-schema-registry-client.io](https://marcosschroh.github.io/async-python-schema-registry-client

##什么时候用这个图书馆?

通常,我们有这样的情景:

啊![合流架构](docs/img/confluent_architecture.png)

因此,我们的生产者/消费者每次从kafka主题发送/接收消息时都必须序列化/反序列化消息。在这张图片中,我们可以想象一个faust应用程序接收消息(用avro模式编码),我们想要对它们进行反序列化,因此我们可以要求模式服务器为我们这样做。在这种情况下,消息序列化程序是完美的。

另外,可能是我们希望应用程序只管理avro模式(注册、更新兼容性、删除旧模式等)的用例,因此schemaregistryclient是完美的。

##运行测试

测试使用docker compose在模式服务器上运行,因此您需要 dockerdocker compose已安装。

`bash ./scripts/test.sh `

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java集合属性值   java字符串==运算符是否比较引用?   java是否存在过太多的ListView或适配器?   json获取java中类路径中下载的文件   我可以用java代码解决数据库并发问题吗?   在多个线程中使用forEach()或使用forEach()和lambdas进行java集合迭代   java输出JFrame中的整个循环   java禁用高度详细的日志记录   java在没有特定属性的对象中访问模型的值   java Smack xmpp建立连接   处理过时域对象引起的并发问题的java策略(Grails/GORM/Hibernate)   java从ObservableList中提取元素   使用图像进行java相似图像搜索   java ListView和图像:我快疯了   在Java中,如何从毫秒时间戳中提取一天的周期?   java我需要这样的设计,但我面临两个问题   java如何获取JGoodies FormLayout中的单元格大小   Spring引导生成的java War文件未部署到Weblogic 12c