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 connect.
Yes, that seems great. I hope murmur 3 will be included in the hash algorithm. Looking forward to it
from connect.
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 connect.
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 connect.
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 connect.
Related Issues (20)
- redis_streams: support for `XAUTOCLAIM`
- Docs typo in Configuration: Templating
- sql_insert - high CPU usage mainly due to GC cycles and allocations. HOT 6
- Global options no longer work via rpk connect HOT 5
- Elasticsearch output backoff should honor HTTP code `429`
- Log rotation is extra aggressive on removing older log files
- Kafka_franz info HOT 1
- Emit `kafka_lag` metadata for the `kafka_franz` input similarly to the `kafka` input
- Add connector support levels to the connector source and templates
- S3 output missing header since aws-sdk-go-v2 upgrade HOT 1
- Contributing link leads nowhere
- Stored procedure output HOT 2
- How to overwrite the value of tracparent in tracing_span().traceparent
- Bloblang `with` method is not properly filtering arrays HOT 3
- Enhance the http_client output with additional error checking HOT 4
- Incorrect Usage: flag provided but not defined: -r when in streams mode HOT 2
- Failed to recover from broker unavailable using kafka_franz HOT 2
- Is there any option to retrieve error result from underlying output component that is wrapper inside Retry output component? HOT 1
- sql_insert ORA-01461: can bind a LONG value only for insert into a LONG column HOT 3
- add name to the mongo input/output for tracking w/ mongodb
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.