{"id":13590831,"url":"https://github.com/warpstreamlabs/bento","last_synced_at":"2025-05-14T21:04:06.458Z","repository":{"id":242122389,"uuid":"808268486","full_name":"warpstreamlabs/bento","owner":"warpstreamlabs","description":"Fancy stream processing made operationally mundane. This repository is a fork of the original project before the license was changed.","archived":false,"fork":false,"pushed_at":"2025-04-01T15:02:42.000Z","size":45934,"stargazers_count":1362,"open_issues_count":52,"forks_count":98,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-04-01T16:30:36.278Z","etag":null,"topics":["benthos","bento","connect","connectors","kafka","processing","stream"],"latest_commit_sha":null,"homepage":"https://warpstreamlabs.github.io/bento/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/warpstreamlabs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-30T18:05:36.000Z","updated_at":"2025-04-01T15:02:46.000Z","dependencies_parsed_at":"2024-08-22T10:04:29.458Z","dependency_job_id":"2285af8e-545f-4c0b-9be1-a23b1665ce5e","html_url":"https://github.com/warpstreamlabs/bento","commit_stats":null,"previous_names":["warpstreamlabs/bento"],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warpstreamlabs%2Fbento","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warpstreamlabs%2Fbento/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warpstreamlabs%2Fbento/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warpstreamlabs%2Fbento/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/warpstreamlabs","download_url":"https://codeload.github.com/warpstreamlabs/bento/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248351873,"owners_count":21089357,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["benthos","bento","connect","connectors","kafka","processing","stream"],"created_at":"2024-08-01T16:00:50.910Z","updated_at":"2025-05-14T21:04:06.433Z","avatar_url":"https://github.com/warpstreamlabs.png","language":"Go","funding_links":[],"categories":["Go","Kafka","\u003ca name=\"Go\"\u003e\u003c/a\u003eGo"],"sub_categories":["Infrastructure from code"],"readme":"\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"bento_logo_gh.svg\" width=100% alt=\"Bento\"\u003e\n\u003c/p\u003e\n\n[![godoc for warpstreamlabs/bento][godoc-badge]][godoc-url]\n[![Build Status][actions-badge]][actions-url]\n[![Docs site][website-badge]][website-url]\n\n[Discord](https://console.warpstream.com/socials/discord)\n[Slack](https://console.warpstream.com/socials/slack)\n\nBento is a high performance and resilient stream processor, able to connect various [sources][inputs] and [sinks][outputs] in a range of brokering patterns and perform [hydration, enrichments, transformations and filters][processors] on payloads.\n\nIt comes with a [powerful mapping language][bloblang-about], is easy to deploy and monitor, and ready to drop into your pipeline either as a static binary, docker image, or [serverless function][serverless], making it cloud native as heck.\n\nBento is declarative, with stream pipelines defined in as few as a single config file, allowing you to specify connectors and a list of processing stages:\n\n```yaml \ninput:\n  gcp_pubsub:\n    project: foo\n    subscription: bar\n\npipeline:\n  processors:\n    - mapping: |\n        root.message = this\n        root.meta.link_count = this.links.length()\n        root.user.age = this.user.age.number()\n\noutput:\n  redis_streams:\n    url: tcp://TODO:6379\n    stream: baz\n    max_in_flight: 20\n```\n\n### Delivery Guarantees\n\nDelivery guarantees [can be a dodgy subject](https://youtu.be/QmpBOCvY8mY). Bento processes and acknowledges messages using an in-process transaction model with no need for any disk persisted state, so when connecting to at-least-once sources and sinks it's able to guarantee at-least-once delivery even in the event of crashes, disk corruption, or other unexpected server faults.\n\nThis behaviour is the default and free of caveats, which also makes deploying and scaling Bento much simpler.\n\n## Supported Sources \u0026 Sinks\n\nAWS (DynamoDB, Kinesis, S3, SQS, SNS), Azure (Blob storage, Queue storage, Table storage), GCP (Pub/Sub, Cloud storage, Big query), Kafka, NATS (JetStream, Streaming), NSQ, MQTT, AMQP 0.91 (RabbitMQ), AMQP 1, Redis (streams, list, pubsub, hashes), Cassandra, Elasticsearch, HDFS, HTTP (server and client, including websockets), MongoDB, SQL (MySQL, PostgreSQL, Clickhouse, MSSQL), and [you know what just click here to see them all, they don't fit in a README][about-categories].\n\nConnectors are being added constantly, if something you want is missing then [open an issue](https://github.com/warpstreamlabs/bento/issues/new).\n\n## Documentation\n\nIf you want to dive fully into Bento then don't waste your time in this dump, check out the [documentation site][general-docs].\n\nFor guidance on how to configure more advanced stream processing concepts such as stream joins, enrichment workflows, etc, check out the [cookbooks section.][cookbooks]\n\nFor guidance on building your own custom plugins in Go check out the section [Plugins](./README.md#plugins).\n\n## Install\n\nWe're working on the release process, but you can either compile from source or pull the docker image:\n\n```\ndocker pull ghcr.io/warpstreamlabs/bento\n```\n\nFor more information check out the [getting started guide][getting-started].\n\n## Run\n\n```shell\nbento -c ./config.yaml\n```\n\nOr, with docker:\n\n```shell\n# Using a config file\ndocker run --rm -v /path/to/your/config.yaml:/bento.yaml ghcr.io/warpstreamlabs/bento\n\n# Using a series of -s flags\ndocker run --rm -p 4195:4195 ghcr.io/warpstreamlabs/bento \\\n  -s \"input.type=http_server\" \\\n  -s \"output.type=kafka\" \\\n  -s \"output.kafka.addresses=kafka-server:9092\" \\\n  -s \"output.kafka.topic=bento_topic\"\n```\n\n## Monitoring\n\n### Health Checks\n\nBento serves two HTTP endpoints for health checks:\n- `/ping` can be used as a liveness probe as it always returns a 200.\n- `/ready` can be used as a readiness probe as it serves a 200 only when both the input and output are connected, otherwise a 503 is returned.\n\n### Metrics\n\nBento [exposes lots of metrics][metrics] either to Statsd, Prometheus, a JSON HTTP endpoint, [and more][metrics].\n\n### Tracing\n\nBento also [emits open telemetry tracing events][tracers], which can be used to visualise the processors within a pipeline.\n\n## Configuration\n\nBento provides lots of tools for making configuration discovery, debugging and organisation easy. You can [read about them here][config-doc].\n\n## Build\n\nBuild with Go (any [currently supported version](https://go.dev/dl/)):\n\n```shell\ngit clone git@github.com:warpstreamlabs/bento\ncd bento\nmake\ngo build -o bento ./cmd/bento/main.go\n```\n\n## Lint\n\nBento uses [golangci-lint][golangci-lint] for linting, which you can install with:\n\n```shell\ncurl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.64.5\n```\n\nCheck the [GitHub Action](.github/workflows/test.yml ) for what version is currently used in CI.\n\nAnd then run it with `make lint`.\n\n## Plugins\n\nIt's pretty easy to write your own custom plugins for Bento in Go, for information check out [the API docs][godoc-url] and for inspiration there's a set of [plugin examples][plugin-examples] demonstrating a variety of plugin implementations. For help on how to set up your own distribution of Bento then checkout the [plugin example module][plugin-example-module].\n\n## Extra Plugins\n\nBy default Bento does not build with components that require linking to external libraries, such as the `zmq4` input and outputs. If you wish to build Bento locally with these dependencies then set the build tag `x_bento_extra`:\n\n```shell\n# With go\ngo install -tags \"x_bento_extra\" github.com/warpstreamlabs/bento/cmd/bento@latest\n\n# Using make\nmake TAGS=x_bento_extra\n```\n\nNote that this tag may change or be broken out into granular tags for individual components outside of major version releases. If you attempt a build and these dependencies are not present you'll see error messages such as `ld: library not found for -lzmq`.\n\n## Docker Builds\n\nThere's a multi-stage `Dockerfile` for creating a Bento docker image which results in a minimal image from scratch. You can build it with:\n\n```shell\nmake docker\n```\n\nThen use the image:\n\n```shell\ndocker run --rm \\\n\t-v /path/to/your/bento.yaml:/config.yaml \\\n\t-v /tmp/data:/data \\\n\t-p 4195:4195 \\\n\tbento -c /config.yaml\n```\n\n## Contributing\n\nContributions are welcome, please [read the guidelines](CONTRIBUTING.md), come and chat (links are on the [community page][community]), and watch your back.\n\n[inputs]: https://warpstreamlabs.github.io/bento/docs/components/inputs/about\n[about-categories]: https://warpstreamlabs.github.io/bento/docs/about#components\n[processors]: https://warpstreamlabs.github.io/bento/docs/components/processors/about\n[outputs]: https://warpstreamlabs.github.io/bento/docs/components/outputs/about\n[metrics]: https://warpstreamlabs.github.io/bento/docs/components/metrics/about\n[tracers]: https://warpstreamlabs.github.io/bento/docs/components/tracers/about\n[config-interp]: https://warpstreamlabs.github.io/bento/docs/configuration/interpolation\n[streams-api]: https://warpstreamlabs.github.io/bento/docs/guides/streams_mode/streams_api\n[streams-mode]: https://warpstreamlabs.github.io/bento/docs/guides/streams_mode/about\n[general-docs]: https://warpstreamlabs.github.io/bento/docs/about\n[bloblang-about]: https://warpstreamlabs.github.io/bento/docs/guides/bloblang/about\n[config-doc]: https://warpstreamlabs.github.io/bento/docs/configuration/about\n[serverless]: https://warpstreamlabs.github.io/bento/docs/guides/serverless/about\n[cookbooks]: https://warpstreamlabs.github.io/bento/cookbooks\n[releases]: https://github.com/warpstreamlabs/bento/releases\n[plugin-examples]: https://pkg.go.dev/github.com/warpstreamlabs/bento/public/service#pkg-examples\n[plugin-example-module]: https://github.com/warpstreamlabs/bento/tree/main/resources/plugin_example\n[getting-started]: https://warpstreamlabs.github.io/bento/docs/guides/getting_started\n\n[godoc-badge]: https://pkg.go.dev/badge/github.com/warpstreamlabs/bento/public\n[godoc-url]: https://pkg.go.dev/github.com/warpstreamlabs/bento/public\n[actions-badge]: https://github.com/warpstreamlabs/bento/actions/workflows/test.yml/badge.svg\n[actions-url]: https://github.com/warpstreamlabs/bento/actions/workflows/test.yml\n[website-badge]: https://img.shields.io/badge/Docs-Learn%20more-ffc7c7\n[website-url]: https://warpstreamlabs.github.io/bento/\n\n[community]: https://warpstreamlabs.github.io/bento/community\n\n[golangci-lint]: https://golangci-lint.run/\n[jaeger]: https://www.jaegertracing.io/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarpstreamlabs%2Fbento","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwarpstreamlabs%2Fbento","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarpstreamlabs%2Fbento/lists"}