We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm referring https://www.benthos.dev/blog/2019/08/20/write-a-benthos-plugin/ to create a custom processor and run locally.
pipeline: processors: - json: operator: copy path: x value: y - process_field: path: y result_type: int processors: - type: fnv_hash - bloblang: | root = this root.x = this.x.trim() root.y = "task" + ((this.y % 64) % 3).string() - log: level: INFO message: 'test'
When I'm just having above part, its running fine and giving results as expected but when I'm adding input as
input: label: "bq_input_benthos" gcp_bigquery_select: project: test-project table: test-dataset.test-table columns: - col1 - col2 - col3 where: time BETWEEN DATETIME("2024-01-15") AND DATETIME("2024-01-25")
I'm getting below error - line 5: unable to infer input type, candidates were: [gcp_bigquery_select]
line 5: unable to infer input type, candidates were: [gcp_bigquery_select]
The text was updated successfully, but these errors were encountered:
Hey @mittal-jatin, that post is pretty old and outdated, ideally you want to follow the example plugin repo: https://github.com/benthosdev/benthos-plugin-example and the examples from https://pkg.go.dev/github.com/benthosdev/benthos/[email protected]/public/service, specifically you need to import the specific plugins from the main project that you want as they aren't all included in your build by default. Take a look at the imports here: https://github.com/benthosdev/benthos-plugin-example/blob/master/main.go#L14
Closing as per #2026
Sorry, something went wrong.
Thanks, this was helpful.
No branches or pull requests
I'm referring https://www.benthos.dev/blog/2019/08/20/write-a-benthos-plugin/ to create a custom processor and run locally.
When I'm just having above part, its running fine and giving results as expected but when I'm adding input as
I'm getting below error -
line 5: unable to infer input type, candidates were: [gcp_bigquery_select]
The text was updated successfully, but these errors were encountered: