how-secure-elasticsearch-and-kibana
https://mapr.com/blog/how-secure-elasticsearch-and-kibana/
https://mapr.com/blog/how-secure-elasticsearch-and-kibana/
GET /_cat/snapshots/s3_repository?v&s=id
GET /_cluster/health/?level=indices
GET _cluster/settings
GET _cat/allocation?v
DELETE _snapshot/s3_repository/snap_index_20180101
PUT _snapshot/s3_repository/snap_index_20180101?wait_for_completion=false
{
"indices": ["index1", "index2", "index3"]
}
GET _snapshot/s3_repository/snap_index_20180101
GET _snapshot/s3_repository
-- 노드 하나 비우자
PUT _cluster/settings
{
"transient": {
"cluster.routing.allocation.exclude._ip": "10.211.205.93"
}
}
unssined shard 복구하기
1. 이슈있는 샤드 찾기
curl -XGET https://localhost/_cat/shards?h=index,shard,prirep,state,unassigned.reason| grep UNASSIGNED
2. 이슈있는 데이터 삭제
curl -XDELETE 'https://localhost/user-tracking-2019-07-22/'
curl -XGET https://localhost/_cluster/allocation/explain?pretty
-- 전체 리플리카 변경하기
curl -XPUT -H 'Content-Type: application/json' 'https://localhost/_settings' -d '
{
"index" : {
"number_of_replicas" : 2
}
}'
https://zetawiki.com/wiki/%EC%BF%A0%EB%B2%84%EB%84%A4%ED%8B%B0%EC%8A%A4_%EC%9A%A9%EC%96%B4
https://docs.microsoft.com/ko-kr/azure/architecture/patterns/event-sourcing
https://blog.aliencube.org/ko/2015/11/12/building-applications-on-cloud-with-event-sourcing-pattern-and-cqrs-pattern/
https://docs.microsoft.com/en-us/azure/architecture/patterns/
https://docs.microsoft.com/ko-kr/azure/architecture/patterns/
https://gist.github.com/jooyunghan/e14f426839454063d98454581b204452
https://kafka.apache.org/quickstart
http://www.popit.kr/kafka-%EC%9A%B4%EC%98%81%EC%9E%90%EA%B0%80-%EB%A7%90%ED%95%98%EB%8A%94-replication-factor-%EB%B3%80%EA%B2%BD/
-- java
https://realjenius.com/2013/11/27/curry-in-java8/
-- kotlin
https://realjenius.com/2017/08/24/kotlin-curry/
https://dzone.com/refcardz/learn-microservices-in-java