{"repo":"EladLeev/schema-registry-statistics","free":true,"listed":false,"github":"https://github.com/EladLeev/schema-registry-statistics","clone":"git clone https://github.com/EladLeev/schema-registry-statistics.git","description":"Schema Registry Statistics Tool","language":"Go","stars":24,"topics":["avro","cli","kafka","kafka-schema","kafka-schema-registry","protobuf","schema-registry"],"license":"Apache-2.0","category":"data-pipelines","readme_excerpt":"Schema-registry-statistics Schema Registry Statistics Tool is a small utility that allows you to easily identify the usage of different schema versions within a topic. Using this tool, you can consume from a topic, while calculating the percentage of each schema version. Table of Contents ----------------- - Schema-registry-statistics - Table of Contents - Flags - Usage - Generate Pie Chart - How does it work? - Local testing - License Example output: As you can see, in the payments-topic , 77% of the messages are produced using schema ID 1, while the remaining messages are produced using schema ID 3. You can get the schema by ID: For further offsets analysis, you can store the results into a JSON file: Flags Name Description Require Type default ------------- --------------------------------------------------------------------------- ---------- -------- ------------------- --bootstrap The Kafka bootstrap servers. V string \"localhost:9092\" --topic The topic name to consume. V string \"\" --version The Kafka client version to be used. string \"2.1.1\" --group The consumer group name. string schema-stats --user The Kafka username for authentication. string \"\" --password The Kafka authentication password. string \"\" --tls Use TLS communication. bool false --cert When TLS communication is enabled, specify the path for the CA certificate. when tls string \"\" --store Store results into a file. bool false --chart Generate pie chart from results. bool false --path If store flag is set, the","default_branch":null,"files":null,"tree":[],"storefront":"/r/EladLeev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/EladLeev/schema-registry-statistics/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}