memgraph / data-streams

Publicly available real-time data sets on Kafka, Redpanda, RabbitMQ & Apache Pulsar

Home Page:https://github.com/g-despot/data-streams

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker compose up fails for Movielens and ArtBlocks dataset

antejavor opened this issue · comments

I run:

docker-compose up movilens-memgraph

Output error:

reating data-streams_memgraph-mage_1 ... done
Creating data-streams_movielens-memgraph_1 ... done
Attaching to data-streams_movielens-memgraph_1
movielens-memgraph_1   | Traceback (most recent call last):
movielens-memgraph_1   |   File "movielens-memgraph.py", line 44, in <module>
movielens-memgraph_1   |     main()
movielens-memgraph_1   |   File "movielens-memgraph.py", line 40, in main
movielens-memgraph_1   |     set_stream(memgraph)
movielens-memgraph_1   |   File "movielens-memgraph.py", line 26, in set_stream
movielens-memgraph_1   |     memgraph.execute(
movielens-memgraph_1   |   File "/usr/local/lib/python3.8/site-packages/gqlalchemy/memgraph.py", line 63, in execute
movielens-memgraph_1   |     connection.execute(query)
movielens-memgraph_1   |   File "/usr/local/lib/python3.8/site-packages/gqlalchemy/connection.py", line 79, in execute
movielens-memgraph_1   |     cursor.fetchall()
movielens-memgraph_1   | mgclient.DatabaseError: Failed to initialize Pulsar consumer ratings_stream : ConnectError
data-streams_movielens-memgraph_1 exited with code 1

Same for art blocks, I ran:

docker-compose up art-blocks-memgraph

Output error:

Creating data-streams_memgraph-mage_1 ... done
Creating data-streams_art-blocks-memgraph_1 ... done
Attaching to data-streams_art-blocks-memgraph_1
art-blocks-memgraph_1  | Traceback (most recent call last):
art-blocks-memgraph_1  |   File "art-blocks-memgraph.py", line 87, in <module>
art-blocks-memgraph_1  |     main()
art-blocks-memgraph_1  |   File "art-blocks-memgraph.py", line 83, in main
art-blocks-memgraph_1  |     set_stream(memgraph)
art-blocks-memgraph_1  |   File "art-blocks-memgraph.py", line 68, in set_stream
art-blocks-memgraph_1  |     memgraph.execute(
art-blocks-memgraph_1  |   File "/usr/local/lib/python3.8/site-packages/gqlalchemy/memgraph.py", line 63, in execute
art-blocks-memgraph_1  |     connection.execute(query)
art-blocks-memgraph_1  |   File "/usr/local/lib/python3.8/site-packages/gqlalchemy/connection.py", line 79, in execute
art-blocks-memgraph_1  |     cursor.fetchall()
art-blocks-memgraph_1  | mgclient.DatabaseError: Failed to initialize Pulsar consumer sales_stream : ConnectError
data-streams_art-blocks-memgraph_1 exited with code 1