Elasticsearch Query to Delete
curl -u user:pwd -XDELETE 'http://172.16.2.75:9200/index/type/_query' -d '{"query":{"term":{"taskName":"Diagnostics Status"}}}'
Storm Execution Flow
http://stackoverflow.com/questions/28981197/execution-flow-of-a-storm-program http://storm.apache.org/releases/1.0.1/Tutorial.html First,...
HttpAsyncClient Tutorial
http://www.baeldung.com/httpasyncclient-tutorial https://github.com/eugenp/tutorials/tree/master/httpclient#readme...
WebSocket
https://blog.idrsolutions.com/2013/12/websockets-an-introduction/ Another good example : https://dzone.com/articles/websockets-spring-4...
RabbitMQ vs Kafa
https://www.quora.com/What-are-the-differences-between-Apache-Kafka-and-RabbitMQ Kafka is a general purpose message broker, like...
@Component vs @Service
In Spring 2.0 and later, the @Repository annotation is a marker for any class that fulfills the role or stereotype (also known as Data...
HashMap vs LinkedHashMap
http://www.java67.com/2012/08/difference-between-hashmap-and-LinkedHashMap-Java.html Also, sort a map by value...
ElasticSearch Update Mapping and Reindex
1. create an alias to current index POST /tmp_index/_alias/current_index 2. create a new index with the correct mapping (or updated...
Start using Gulp
git clone https://github.com/FixStream/meridian-ui.git cd meridian-ui sudo npm install -g gulp # GLOBAL INSTALL of gulp sudo npm install...
kafka Commands
/opt/meridian/kafka/bin/kafka-console-consumer.sh --zookeeper localhost:2181 --topic netra-topic /opt/meridian/kafka/bin/kafka-topics.sh...