Crates.io | kjp_generator_plugin |
lib.rs | kjp_generator_plugin |
version | 0.1.1 |
source | src |
created_at | 2023-01-03 12:12:46.783384 |
updated_at | 2023-02-06 12:33:33.134819 |
description | The base for a custom code generator for kjp-generator, part of kafka-json-processor project. |
homepage | https://github.com/multicatch/kafka-json-processor |
repository | https://github.com/multicatch/kafka-json-processor |
max_upload_size | |
id | 750098 |
size | 46,656 |
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.
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).See examples for practical guide how to use kjp-generator-plugin
.
For technical details how plugins work, see kjp-generator documentation.