kjp_generator_plugin

Crates.iokjp_generator_plugin
lib.rskjp_generator_plugin
version0.1.1
sourcesrc
created_at2023-01-03 12:12:46.783384
updated_at2023-02-06 12:33:33.134819
descriptionThe base for a custom code generator for kjp-generator, part of kafka-json-processor project.
homepagehttps://github.com/multicatch/kafka-json-processor
repositoryhttps://github.com/multicatch/kafka-json-processor
max_upload_size
id750098
size46,656
multicatch (multicatch)

documentation

https://multicatch.github.io/kafka-json-processor/kjp_generator_plugin/

README

Kafka-json-processor generator plugin framework

This is a project that lets you create a plugin for kjp-generator in Rust. This library contains logic for parsing input parameters, handling errors and some handy utilities.

Handy utilities

  • GeneratorError for signaling errors (DO use this one for error for correct error handling),
  • json_path_to_object_key(&str) -> String for generating &[ObjectKey] for use with kafka-json-processor-core from JSONPath (parses JSONPath).

How to create custom plugin

See examples for practical guide how to use kjp-generator-plugin. For technical details how plugins work, see kjp-generator documentation.

Commit count: 58

cargo fmt