https://github.com/cristalhq/fresbi
WIP: Fast Reliable ElasticSearch Bulk Indexer
https://github.com/cristalhq/fresbi
bulk bulkimport bulkinsert elasticsearch elasticsearch-client go golang reliable
Last synced: 2 months ago
JSON representation
WIP: Fast Reliable ElasticSearch Bulk Indexer
- Host: GitHub
- URL: https://github.com/cristalhq/fresbi
- Owner: cristalhq
- License: mit
- Created: 2020-11-07T09:42:03.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-19T13:44:16.000Z (about 5 years ago)
- Last Synced: 2025-06-03T20:13:52.505Z (about 1 year ago)
- Topics: bulk, bulkimport, bulkinsert, elasticsearch, elasticsearch-client, go, golang, reliable
- Language: Makefile
- Homepage:
- Size: 43 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fresbi
[![build-img]][build-url]
[![pkg-img]][pkg-url]
[![reportcard-img]][reportcard-url]
[![coverage-img]][coverage-url]
Fast Reliable ElasticSearch Bulk Indexer.
## Rationale
Two most popular Elasticsearch (ES) clients ([official](https://github.com/elastic/go-elasticsearch) and [community](https://github.com/olivere/elastic)) have an API for ES Bulk indexing ([docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html)).
Sadly it's not very friendly: asynchronous where it should not be, too verbose for simple things and is memory greedy. This package addresses all of the problems.
## Features
* Simple API.
* Clean and tested code.
* Optimized for speed.
* Dependency-free.
Also R in `fresbi` can mean `Raw` (`RawClient`).
## Install
Go version 1.15+
```
go get github.com/cristalhq/fresbi
```
## Example
```go
// TODO
```
Also see examples: [this above](https://github.com/cristalhq/fresbi/blob/master/example_test.go).
## Documentation
See [these docs][pkg-url].
## License
[MIT License](LICENSE).
[build-img]: https://github.com/cristalhq/fresbi/workflows/build/badge.svg
[build-url]: https://github.com/cristalhq/fresbi/actions
[pkg-img]: https://pkg.go.dev/badge/cristalhq/fresbi
[pkg-url]: https://pkg.go.dev/github.com/cristalhq/fresbi
[reportcard-img]: https://goreportcard.com/badge/cristalhq/fresbi
[reportcard-url]: https://goreportcard.com/report/cristalhq/fresbi
[coverage-img]: https://codecov.io/gh/cristalhq/fresbi/branch/master/graph/badge.svg
[coverage-url]: https://codecov.io/gh/cristalhq/fresbi