Comments (5)
Hey @rucciva, if I create a general purpose hash
processor you would be able to do the following:
processors:
- type: json
json:
operator: set
path: id
value: ${!json_field:some.field}-${!json_field:another.field}
- type: process_field
process_field:
path: id
processors:
- type: hash
hash:
algorithm: sha256
And then you could use the id
as your ES id, would that work for you?
from benthos.
Yes, that seems great. I hope murmur 3 will be included in the hash algorithm. Looking forward to it
from benthos.
101cfea, is there a specific reason that you wanted murmur 3? There's one or two libraries for it but they seem a little risky to include.
from benthos.
Released in https://github.com/Jeffail/benthos/releases/tag/v0.25.0, if you need murmur 3 support then feel free to open a new ticket.
from benthos.
Hi @Jeffail , murmur3 is best fit for fingerprint case, since it has big enough space (128 bit) but quite fast. But if you thinks it's too risky then i think i could use the existing algorithm
from benthos.
Related Issues (20)
- Pulsar Input doesn't allow using a pattern to select topics HOT 1
- Bloblang support for zipping arrays HOT 1
- Memory cache never compacts expired keys with a stable set of cache keys HOT 1
- Can you please provide complex pagination example HOT 1
- amazon sagemaker feature store output HOT 2
- Consider setting a default reader codec for decompression codecs HOT 1
- kafka output. produce tombstone message HOT 2
- Log the Errors from batch output components HOT 2
- Consider accepting schema in OLTP url HOT 2
- is it possible to create pipeline on azure blob storage account for blob file ? HOT 5
- Add support for open telemetry metrics HOT 1
- AMQP_0_9 Optional Message Properties HOT 3
- integration with Azure Appinsight
- Add ability to configure redis_list push/pop method HOT 1
- adding Redis support to output via set command.
- Benthos linter ignores yaml anchors in resources when the file is passed in via the `-r` flag HOT 3
- http_server: Breaking change introduced with v4.14.0? HOT 5
- Input multiple data sources and output after conversion HOT 4
- json arrays are merged by field values HOT 3
- Asking a question? PLEASE READ FIRST
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 benthos.