https://github.com/johnfercher/microservices
microservices study
https://github.com/johnfercher/microservices
Last synced: 2 months ago
JSON representation
microservices study
- Host: GitHub
- URL: https://github.com/johnfercher/microservices
- Owner: johnfercher
- License: mit
- Created: 2020-11-11T04:51:30.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-23T01:42:19.000Z (over 5 years ago)
- Last Synced: 2025-01-27T09:12:12.501Z (over 1 year ago)
- Language: Go
- Size: 137 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Execute Application
### 1 - Execute Entire Solution
```
$ bash run.sh
```
### 2 - Create Kafka Topic
```
$ create_topic.sh
$ Kafka Topic Name: topic-user-events
$ Creating kafka-topic topic-user-events.
```
# Setup Application
### 1 - Setup Elasticsearch Folder
```
cd /usr/share
mkdir elasticsearch/data/nodes
chmod 777 -R /elasticsearch/data
```
### 2 - Build UserDb Docker Image
```
cd userdb
bash build.sh
```
### 3 - Execute Entire Solution
```
$ bash run.sh
```
### 4 - Create Kafka Topic
```
$ create_topic.sh
$ Kafka Topic Name: topic-user-events
$ Creating kafka-topic topic-user-events.
```
# Addresses
* Kibana
* http://localhost:5601
* Elasticsearch
* http://localhost:9200
* Zookeeper
* http://localhost:2181
* Kafka1
* http://localhost:9092
* MySQL
* http://localhost:3306
# Reference
### Kafka
* [Apache Kafka — Aprendendo na prática][kafka_evandro]
* [Kafka Base Examples][kafka_examples]
### Logstach, Elasticsearch and Kibana
* [Configurando o Elasticsearch e Kibana no Docker][log_docker]
[kafka_evandro]: https://medium.com/trainingcenter/apache-kafka-codifica%C3%A7%C3%A3o-na-pratica-9c6a4142a08f
[kafka_examples]: https://github.com/confluentinc/cp-docker-images/tree/5.3.3-post/examples
[log_docker]: https://medium.com/@hgmauri/configurando-o-elasticsearch-e-kibana-no-docker-3f4679eb5feb