Comments (6)
Hey @cludden, if the input/output targets are generally useful then I'd be interested in adding them to the project, otherwise you can fork and I'll still be happy to guide you. The process is pretty simple, check out the examples in https://github.com/Jeffail/benthos/tree/master/lib/input/reader.
I'm trying to avoid plugins for now as I like the simplicity of having "one true Benthos", but obviously if the list of components gets outrageously large I'll revisit, not sure how I'd manage builds in that case but the technical side shouldn't be an issue.
from connect.
Marking this as documentation as it would be nice for me to outline the current process for contributing components.
from connect.
Hey @Jeffail thanks for the quick response, what you've stated was the same as my initial thoughts, and I have no problem submitting PR's for my use cases. However, the particular input I would like to implement (mysql binlog consumer) requires an additional storage layer for persisting consumer state (files and offsets), which can also be pluggable. As opposed to creating a truly generic mysql input (as in, bring-your-own backend), it seemed it would be simpler if I could just define my own structure that satisfied the benthos input interface and be on my way, plus i wasn't sure how useful it would be as part of the benthos core. Would you prefer this as a core input (i'll gladly submit a PR), or would a fork be the better solution?
from connect.
Let's do a fork for now. There's similar patterns I'm currently looking at where we want to have a consumer and then a separate storage layer so maybe in the future there will be a general pattern we could fit something like this into.
from connect.
sounds good!
from connect.
i'll leave it open for the documentation tag you added, thanks again!
from connect.
Related Issues (20)
- Add Splunk_hec label to metrics output HOT 1
- output component fallback not work HOT 1
- [Feature Request] Trim whitespaces from columns in CSV scanner/input HOT 1
- aws_s3: Scanner and backing reader not closed on non `io.EOF` error
- 4.28.0 should really be 5.0.0 HOT 3
- Document change in licensing HOT 2
- Inconsistent behavior with Javascript processing HOT 1
- JavaScript processor unable to handle asynchronous code execution HOT 1
- Iceberg support HOT 1
- Esto serΓ‘ facil
- MwM
- Exclude enterprise licensed plugins from the all package HOT 2
- main.go seems to be Redpanda Enterprise licensed HOT 2
- Document workflow/result_map
- CLI references the wrong binary name
- Collaborate on a Benthos processor for a Conduit pipeline?
- Dependency Licensing issue caused by couchbase/gocbcoreps HOT 3
- aws_kinesis input: shards are not processed if they are closed HOT 4
- public free bundle missing the xml package import HOT 2
- Pass along bloblang/yaml error context
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from connect.