tremor-rs / tremor-runtime

Main Tremor Project Rust Codebase
https://www.tremor.rs
Apache License 2.0
842 stars 127 forks source link

Connector features #2588

Closed Licenser closed 2 weeks ago

Licenser commented 2 weeks ago

Pull request

Description

Feature flag connectors in tremor-runtime so that it can be embedded without the need to compile and ship them all.

Checklist

Performance

-/-

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.36%. Comparing base (f8f97fb) to head (e4b3fe8).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588/graphs/tree.svg?width=650&height=150&src=pr&token=d1bhuZGcOK&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs)](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) ```diff @@ Coverage Diff @@ ## main #2588 +/- ## ========================================== + Coverage 91.30% 91.36% +0.05% ========================================== Files 308 308 Lines 60109 60120 +11 ========================================== + Hits 54883 54926 +43 + Misses 5226 5194 -32 ``` | [Flag](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | Coverage Δ | | |---|---|---| | [e2e-command](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `11.23% <18.18%> (+<0.01%)` | :arrow_up: | | [e2e-integration](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `51.87% <100.00%> (+0.19%)` | :arrow_up: | | [e2e-unit](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `12.46% <18.18%> (+<0.01%)` | :arrow_up: | | [e2etests](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `54.19% <100.00%> (+0.19%)` | :arrow_up: | | [tremorapi](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `14.34% <81.81%> (+<0.01%)` | :arrow_up: | | [tremorcodec](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `62.94% <ø> (ø)` | | | [tremorcommon](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `63.04% <ø> (-0.11%)` | :arrow_down: | | [tremorconnectors](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `28.60% <ø> (ø)` | | | [tremorconnectorsaws](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `11.48% <ø> (ø)` | | | [tremorconnectorsazure](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `5.03% <ø> (ø)` | | | [tremorconnectorsgcp](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `21.28% <ø> (+0.11%)` | :arrow_up: | | [tremorconnectorsobjectstorage](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `0.00% <ø> (ø)` | | | [tremorconnectorsotel](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `12.67% <ø> (ø)` | | | [tremorconnectorstesthelpers](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `60.56% <ø> (ø)` | | | [tremorinflux](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `87.72% <ø> (ø)` | | | [tremorinterceptor](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `53.73% <ø> (ø)` | | | [tremorpipeline](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `31.06% <ø> (ø)` | | | [tremorruntime](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `46.65% <100.00%> (+0.01%)` | :arrow_up: | | [tremorscript](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `54.28% <100.00%> (+0.01%)` | :arrow_up: | | [tremorsystem](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `5.75% <ø> (ø)` | | | [tremorvalue](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `70.24% <ø> (+0.02%)` | :arrow_up: | | [unittests](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `88.33% <100.00%> (+0.04%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | Coverage Δ | | |---|---|---| | [src/functions.rs](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588?src=pr&el=tree&filepath=src%2Ffunctions.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs#diff-c3JjL2Z1bmN0aW9ucy5ycw==) | `100.00% <100.00%> (ø)` | | | [src/lib.rs](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588?src=pr&el=tree&filepath=src%2Flib.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs#diff-c3JjL2xpYi5ycw==) | `100.00% <100.00%> (ø)` | | | [src/pipeline.rs](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588?src=pr&el=tree&filepath=src%2Fpipeline.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs#diff-c3JjL3BpcGVsaW5lLnJz) | `91.00% <ø> (ø)` | | | [src/system.rs](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588?src=pr&el=tree&filepath=src%2Fsystem.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs#diff-c3JjL3N5c3RlbS5ycw==) | `94.27% <100.00%> (ø)` | | | [src/system/flow.rs](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588?src=pr&el=tree&filepath=src%2Fsystem%2Fflow.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs#diff-c3JjL3N5c3RlbS9mbG93LnJz) | `94.13% <ø> (ø)` | | | [src/system/flow\_supervisor.rs](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588?src=pr&el=tree&filepath=src%2Fsystem%2Fflow_supervisor.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs#diff-c3JjL3N5c3RlbS9mbG93X3N1cGVydmlzb3IucnM=) | `90.90% <ø> (ø)` | | | [src/version.rs](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588?src=pr&el=tree&filepath=src%2Fversion.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs#diff-c3JjL3ZlcnNpb24ucnM=) | `100.00% <ø> (+17.39%)` | :arrow_up: | | [tremor-common/src/alias.rs](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588?src=pr&el=tree&filepath=tremor-common%2Fsrc%2Falias.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs#diff-dHJlbW9yLWNvbW1vbi9zcmMvYWxpYXMucnM=) | `89.71% <ø> (-0.19%)` | :arrow_down: | | [tremor-script/src/srs.rs](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588?src=pr&el=tree&filepath=tremor-script%2Fsrc%2Fsrs.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs#diff-dHJlbW9yLXNjcmlwdC9zcmMvc3JzLnJz) | `98.64% <100.00%> (+0.05%)` | :arrow_up: | ... and [8 files with indirect coverage changes](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs). Last update [f8f97fb...e4b3fe8](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2588?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs).