Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Add redis streaming client #250

Merged
merged 2 commits into from Feb 8, 2019
Merged

Add redis streaming client #250

merged 2 commits into from Feb 8, 2019

Commits on Feb 6, 2019

  1. Add redis streaming client

    Integration tested via:
    
    ```bash
    docker network create redis-test
    
    docker build --target builder -t agogosml -f agogosml/Dockerfile.agogosml agogosml
    
    docker run -d --name redis --rm --network redis-test -p 6379:6379 redis:5-alpine \
      redis-server --requirepass 123456password
    
    docker run -d --rm --network redis-test -it agogosml \
      python -m agogosml.tools.receiver --receiver redis \
      '{"REDIS_URL":"redis://:123456password@redis:6379", "REDIS_CHANNEL":"mychan"}'
    
    docker run -d --rm --network redis-test -it agogosml \
      python -m agogosml.tools.sender --infile README.rst --sender redis \
      '{"REDIS_URL":"redis://:123456password@redis:6379", "REDIS_CHANNEL":"mychan"}'
    
    docker logs -f <id-of-receiver-container>
    ```
    c-w committed Feb 6, 2019
    Copy the full SHA
    052a46c View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2019

  1. Copy the full SHA
    87c7e13 View commit details
    Browse the repository at this point in the history