ksqlDB-GraphQL-poc
schema_registry_test_app
ksqlDB-GraphQL-poc | schema_registry_test_app | |
---|---|---|
1 | 1 | |
8 | 4 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | 3 days ago | |
Rust | Java | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ksqlDB-GraphQL-poc
-
confluent Schema Registry and Rust
In order to prepare for a future blog with Confluent I wanted to play around with ksqlDB, which was the perfect opportunity to use the Rust library in a less trivial way. As it turned out there is even a library for communicating with ksqlDB from rust, using the Rest API. The PoC project for this contains some code to put protobuf data on a topic.
schema_registry_test_app
-
confluent Schema Registry and Rust
Next to the additional formats there was one other major change to incorporate from Schema Registry. In order to reuse registered schemas with new schemas they made it possible to have references. So when retrieving a schema, one or more pointers to other schemas might be part of the returned JSON. To make sure I got this part right in the Rust library I created a Java project which can be used from docker.
What are some alternatives?
schema-registry - Confluent Schema Registry for Kafka
rust-rdkafka - A fully asynchronous, futures-based Kafka client library for Rust based on librdkafka
logos - Create ridiculously fast Lexers
obm_confluent_blog - Open Bank Mark as will be used for the Confluent Blog, with ssl and multiple types in the same topic.
foundation.rust-lang.org - website for Rust Foundation
Protobuf - Protocol Buffers - Google's data interchange format
rustfmt - Format Rust code
schema_registry_converter - A crate to convert bytes to something more useable and the other way around in a way Compatible with the Confluent Schema Registry. Supporting Avro, Protobuf, Json schema, and both async and blocking.
Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/