Skip to content

FTP server based on bifrost that published files into an RabbitMQ exchange.

License

Notifications You must be signed in to change notification settings

Raphexion/ftp2rabbitmq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ftp2rabbitmq

Design

Big Picture

Gettings started

Start RabbitMQ

docker run -d --rm -p 5672:5672 -p 15672:15672 --name mq rabbitmq:3.7-management

Start application

docker run -dit -p 2121:2121 --link mq -e rabbitmq_hostname=mq raphexion/ftp2rabbitmq

Development

rebar3 shell

For development purposes you can create a client that listens to the queue. Please note that foobar must be the same as the username when logging into the ftp server.

rabbitmq2debug:start_link("data", "ftpdata", "ftp_data1", "#").
rabbitmq2debug:start_link("info", "ftpinfo", "ftp_info1", "#").

Configure RabbitMQ broker

export rabbitmq_username="guest"
export rabbitmq_password="guest"
export rabbitmq_hostname="localhost"
export rabbitmq_port="5672"

About

FTP server based on bifrost that published files into an RabbitMQ exchange.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published