Skip to content

Commit

Permalink
source-kafka: capture Avro encoded messages using schema registry
Browse files Browse the repository at this point in the history
Implements capturing Avro encoded messages using schemas retrieved from the
configured schema registry.

The hard work is mostly translating an Avro value into a JSON value in a way
that is maximally useful. The implementation here is a lot like the one in the
Flow parser, but since we are unconstrained with backward-compatibility in the
Kafka capture it includes some enhancements that would be difficult to include
in the parser's version.
  • Loading branch information
williamhbaker committed Oct 30, 2024
1 parent 1c194ae commit c3b1323
Show file tree
Hide file tree
Showing 8 changed files with 685 additions and 155 deletions.
9 changes: 6 additions & 3 deletions source-kafka/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions source-kafka/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ tracing-subscriber = { version = "0.3", features = [
reqwest = { version = "0.12", features = ["json"] }
futures = "0.3"
apache-avro = "0.17"
bigdecimal = "0.4"
time = "0.3"


[dev-dependencies]
insta = { version = "1", features = ["json", "serde"] }
schema_registry_converter = { version = "4.2.0", features = ["avro"] }
uuid = "1.11"
Loading

0 comments on commit c3b1323

Please sign in to comment.