Commit 53c6bb74 authored by SIMONIN Matthieu's avatar SIMONIN Matthieu

Update README.md

parent 611dcfe0
Pipeline #132376 passed with stage
in 75 minutes and 30 seconds
# Build docker images
# sesame docker images
Refer to the Makefile.
They can be used for testing purpose, on your local machine, using docker-compose.
```
# build all docker images
make all
# build some
make ingestion
# release
make release
```
# Use the docker images
Refer to the dedicated READMEs in the subdirectory
The `launch.sh` scrip is a wrapper that allow to start/build/push a subset of the docker image.
This allow to test specific scenarios.
# Legacy
* `es-feed-bulk.py`: bulk index parsed ais
```
usage:
es-feed-bulk.py es-url glob parallelism
example:
es-feed-bulk.py "http://elastic:changeme@localhost:9200" "/parsed/*" 16
```
For instance:
# Some Elasticsearch request
## Create a repository for snapshot with compression
```
PUT /_snapshot/sesame
{
"type": "fs",
"settings": {
"location": "/tmp/backup/sesame",
"compress": true
}
}
```
## Snapshots
* Create a snapshot
```
PUT /_snapshot/sesame/snapshot_1
{
"indices": "ais-2017.03",
"ignore_unavailable": true,
"include_global_state": false
}
```
* Show snapshot
```
GET /_snapshot/sesame/snapshot_1
```
* Delete snapshot
```
DELETE /_snapshot/sesame/snapshot_1
```
* Delete index
```
DELETE /ais-2017.03
```
* Restore snapshot
```
POST /_snapshot/sesame/snapshot_1/_restore
```
## Change index number of replicas
```
PUT /ais-2017.03/_settings
{
"number_of_replicas": 0
}
```
./launch.sh up --remove-orphans zookeeper kafka ingestion multitaskais_stream
```
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment