Robert Cecil Martin also known as Uncle Bob Martin - SOLID
Summary of 'Clean code' by Robert C. Martin
Clean Code - Uncle Bob
(Robert Cecil Martin also known as Uncle Bob Martin - SOLID)[http://www.cleancoder.com/products]
(Summary of 'Clean code' by Robert C. Martin)[https://gist.github.com/wojteklu/73c6914cc446146b8b533c0988cf8d29]
Clean Code PDF: https://www.investigatii.md/uploads/resurse/Clean_Code.pdf
Clean Code Java: https://github.com/leonardolemie/clean-code-java
SOLID Java Examples: https://www.baeldung.com/solid-principles
version: '3.7' | |
services: | |
zookeeper: | |
image: confluentinc/cp-zookeeper:5.3.1 | |
container_name: zookeeper | |
environment: | |
ZOOKEEPER_CLIENT_PORT: 2181 | |
ZOOKEEPER_TICK_TIME: 2000 | |
kafka: | |
image: confluentinc/cp-kafka:5.3.1 |
version: '2' | |
services: | |
zookeeper: | |
image: confluentinc/cp-zookeeper:5.3.0 | |
environment: | |
ZOOKEEPER_CLIENT_PORT: 2181 | |
ZOOKEEPER_TICK_TIME: 2000 | |
ZOOKEEPER_SYNC_LIMIT: 2 | |
ports: | |
- 2181:2181 |
Implicit/Dynamic Mapping: Indexing the document without defining the mappings, new fields will be added to the top level and nested. Helps to index data faster, the optimized way of indexing will help indexing perform better with the following.
date_detection
and set the dynamic_date_formats
"numeric_detection": true
"10"
it will be either saved as floating point or a string but not integer, to make it strict we use coerce
at index level of field levelversion: '3' | |
services: | |
proxy: | |
image: nginx:latest | |
volumes: | |
- nginx-proxy-conf:/etc/nginx/ | |
- nginx-proxy-ssl-certs:/etc/nginx/ssl | |
- nginx-proxy-html:/usr/share/nginx/html | |
ports: | |
- 80:80 |
version: '3.3' | |
services: | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:6.6.0 | |
container_name: elasticsearch | |
ports: | |
- 9200:9200 | |
- 9300:9300 | |
environment: | |
ES_JAVA_OPTS: '-Xms256m -Xmx256m' |
version: '3.3' | |
services: | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:6.6.0 | |
container_name: elasticsearch | |
volumes: | |
- /var/db/data/elasticsearch:/usr/share/elasticsearch | |
ports: | |
- 9200:9200 | |
- 9300:9300 |
version: '3.3' | |
services: | |
elasticsearch1: | |
image: docker.elastic.co/elasticsearch/elasticsearch:6.6.0 | |
environment: | |
ES_JAVA_OPTS: '-Xms256m -Xmx256m' | |
cluster.name: es-cluster | |
node.name: es1 | |
network.bind_host: 0.0.0.0 | |
discovery.zen.minimum_master_nodes: 1 |
version: '3.1' | |
services: | |
postgres: | |
image: postgres | |
container_name: postgres | |
restart: always | |
environment: | |
- POSTGRES_USER=test | |
- POSTGRES_PASSWORD=test |