-
Notifications
You must be signed in to change notification settings - Fork 523
[Merged by Bors] - Add custom deserializer for connector yaml #2426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - Add custom deserializer for connector yaml #2426
Conversation
|
One thing that might be worth adding to this PR would be adding a top level key of |
tjtelan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this otherwise looks like a good change
My only apprehension is that we don't have a simple interface for SmartModules. We currently need to specify the type of module ( My ideal representation of a smart_modules:
- my_filter
- my_map
- my_aggWhere the SmartModule transforms in the order it is specified, and does not require passing extra info such as what type of SmartModule. Considering the current behavior, I would be ok with smart_module:
name: my_filter
type: filter |
I think I like this the most for now. |
498c759 to
b513819
Compare
7e808ef to
d3e1b17
Compare
sehz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
bors r+ |
* Closes #2421 * Closes #2410. This enables the connectors yamls to be thusly: ```yaml version: 0.1.0 name: my-test-mqtt type: mqtt topic: my-mqtt create_topic: false direction: source parameters: param_1: "mqtt.hsl.fi" param_2: foo: bar bar: foo param_3: - "baz" secrets: foo: bar producer: linger: 1ms batch_size: 44 compression: gzip consumer: partition: 10 ```
|
Pull request successfully merged into master. Build succeeded: |
This is the connectors PR to fluvio-community/fluvio#2426. Still need to do version bumps.
This is the non breaking changes changes from #2426.
Closes fluvio-community#2437 * [x] Increment patch version in [`VERSION`](https://github.com/infinyon/fluvio/blob/master/VERSION) file * [x] Update [`CHANGELOG`](https://github.com/infinyon/fluvio/blob/master/CHANGELOG.md) with replacement of the `UNRELEASED` date for most recent release * [x] Add a new heading in [`CHANGELOG`](https://github.com/infinyon/fluvio/blob/master/CHANGELOG.md) with for the next release (Use heading level 2) Add specific log_dir creation error (fluvio-community#2425) Previous implementation simply prints: 0: Fluvio cluster error 1: Permission denied (os error 13) ...which gives no information regarding which operation caused the error, or even to which path the error relates. This commit adds an interstitial error to the chain, which prints: 1: An error occurred creating the cluster log directory "/usr/local/var/log/fluvio" Re-added producer config to connector yaml (fluvio-community#2444) This is the non breaking changes changes from fluvio-community#2426. Add VecOrString for ManagedConnectorSpec parameters cargo fmt and clippy Verify some portion of backward compatability backward compatible encoding for manage connector parameters fix serialize issue cargo fmt fix tests Updates from comments Updated watch version Updates from comments fix ci
This enables the connectors yamls to be thusly: