confluent-schema-registry

How to programatically register Avro Schema in Kafka Schema Registry using Python

How to programatically register Avro Schema in Kafka Schema Registry using Python Question: I put data and schema to kafka and schema registry with python. from confluent_kafka import avro from confluent_kafka.avro import AvroProducer value_schema_str = """ { "type":"record", "name":"myrecord", "fields":[ { "name":"ID", "type":["null", "int"], "default":null }, { "name":"PRODUCT", "type":["null", "string"], "default":null }, { "name":"QUANTITY", "type":["null", …

Total answers: 1

Do we need to manually cache schema registry?

Do we need to manually cache schema registry? Question: We are currently using Protocol Buffers as serialization mechanism for kafak message. We are going to move to Avro. We tested Avro Confluent consumer with Schema Registry and according to those tests, Avro consumer is little bit slow compare to protobuff consumer. My question is do …

Total answers: 2