Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

emmanuelstroem/getactivemq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Pre-Requisites:

  • git

  • pip

    • install using easy_install pip
  • psycopg2

    • install using pip install psycopg2
  • stompest

    • install stompest.async using pip install stompest.async
    • install stompest.config using pip install stompest.config

Database Configurations


  • Postgres database engine
    • install from https://www.postgresql.org/download/
    • database name: postgres
    • database username: postgress
    • database password: ''
    • table name: getactivemq
    • table columns: column0..column11

Output files


  • dataFromDB.csv: stores rows retreived from database
  • dataFromActiveMQ: stores data received from ActiveMQ
  • {{user_input}}.csv: stores random generated data from array

Program Parameters


  • -i : specifies the name of the csv file ending with .csv
  • -h : print program CLI help

How to run the program


  • clone the project using:
    • git clone https://github.com/emmanuelstroem/getactivemq.git
  • cd into the cloned folder:
    • cd getactivemq
  • run the program using:
    • python python stomp_activemq.py -i test.csv
      • where test.csv is the file name specified by the user.

About

Generating CSV with random array data, storing and reading from Postgres db and inserting and reading from ActiveMQ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages