Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/payamrastogi/imdb-telegram-bot


https://github.com/payamrastogi/imdb-telegram-bot

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

https://tecadmin.net/how-to-install-apache-kafka-on-ubuntu-20-04/
cd /usr/local/kafka

#### Starting Zookeeper/kafka
- sudo ./Workspace/kafka/bin/zookeeper-server-start.sh ./Workspace/kafka/config/zookeeper.properties
- sudo ./Workspace/kafka/bin/kafka-server-start.sh ./Workspace/kafka/config/server.properties

#### Troubleshooting
- Delete all files in kafka/data and kafka/logs folder
- List kafka topics
```
./Workspace/kafka/bin/kafka-topics.sh --list --bootstrap-server 192.168.1.23:9092
./Workspace/kafka/bin/kafka-topics.sh --list --zookeeper 192.168.1.23:2181
```

- Describe a Kafka topic
```
./Workspace/kafka/bin/kafka-topics.sh --describe --topic imdb_request_topic --bootstrap-server 192.168.1.23:9092
./Workspace/kafka/bin/kafka-topics.sh --describe --topic psmdb_request_topic --bootstrap-server 192.168.1.23:9092
./Workspace/kafka/bin/kafka-topics.sh --describe --topic response_topic --bootstrap-server 192.168.1.23:9092
```

- To make a shell script executable, use the following command.
```
git update-index --chmod=+x start.sh
git update-index --chmod=+x stop.sh
```

#### Delete User
sudo deluser --remove-home ubuntu
#### Java installation
- https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-on-ubuntu-18-04

#### Apache Kafka
- https://kafka.apache.org/quickstart

#### MongoDB Installation:
- https://www.alcher.me/databases-ru-en/mongodb/install-32-and-64-mongodb/
- https://askubuntu.com/questions/679135/how-do-i-set-new-screen-resolution-for-a-headless-server-using-teamviewer-10
- https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/?_ga=2.21318909.754929348.1639444409-856799838.1638490403
- https://askubuntu.com/questions/884541/cant-start-mongodb-service/1263003#1263003?newreg=543a37a3e8ca4cb8ae2a226f507e5e8b

#### Virtualenv
- https://dev.to/serhatteker/how-to-install-virtualenv-on-ubuntu-18-04-2jdi

#### References:
- https://stackoverflow.com/questions/19645527/trying-to-get-pycharm-to-work-keep-getting-no-python-interpreter-selected
- https://stackoverflow.com/questions/33785755/getting-could-not-find-function-xmlcheckversion-in-library-libxml2-is-libxml2
- https://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml
- https://stackoverflow.com/questions/59786719/how-can-i-access-yaml-data-from-a-python-file
- https://flexiple.com/check-if-list-is-empty-python/
- https://stackoverflow.com/questions/959215/how-do-i-remove-leading-whitespace-in-python
- https://docs.python.org/2/library/re.html
- https://www.w3schools.com/python/ref_string_startswith.asp
- https://stackoverflow.com/questions/1549641/how-can-i-capitalize-the-first-letter-of-each-word-in-a-string
- https://stackoverflow.com/questions/3277503/how-to-read-a-file-line-by-line-into-a-list
- https://stackoverflow.com/questions/20510108/vertical-column-text-select-in-pycharm
- https://www.geeksforgeeks.org/mongodb-python-insert-update-data/
- https://docs.python.org/3/tutorial/classes.html
- https://www.geeksforgeeks.org/create-a-database-in-mongodb-using-python/
- https://www.w3schools.com/python/python_mongodb_create_db.asp
- https://docs.mongodb.com/manual/reference/method/db.removeUser/
- https://thedatafrog.com/en/articles/mongodb-remote-raspberry-pi/
- https://www.tutorialspoint.com/mongodb/mongodb_create_database.htm
- https://stackoverflow.com/questions/59481878/unable-to-start-kafka-with-zookeeper-kafka-common-inconsistentclusteridexceptio
- https://blog.fireheart.in/a?ID=01800-cdf8efa1-1f8b-4835-8aa1-bd4a89f66f81
- https://kafka.apache.org/quickstart
- https://stackoverflow.com/questions/62405458/unable-to-send-messages-to-topic-in-kafka-python
- https://stackoverflow.com/questions/35689238/kafka-python-producer-is-not-able-to-connect