Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating Kafka stream fails in Memgraph Lab #14

Open
lucija-perkovic opened this issue Jul 14, 2022 · 0 comments
Open

Creating Kafka stream fails in Memgraph Lab #14

lucija-perkovic opened this issue Jul 14, 2022 · 0 comments

Comments

@lucija-perkovic
Copy link

lucija-perkovic commented Jul 14, 2022

When trying to create Kafka stream in Memgraph Lab for movielens example:
CREATE KAFKA STREAM movielens_stream TOPICS ratings TRANSFORM movielens.rating BOOTSTRAP_SERVERS "kafka:9092";
This error is shown:
Query failed: Failed to initialize Kafka consumer movielens_stream : Local: Broker transport failure
It doesn't create the stream.
Using this seems to solve the issue:

CREATE KAFKA STREAM movielens_stream
TOPICS ratings
TRANSFORM movielens.rating
BOOTSTRAP_SERVERS "kafka:9092"
CREDENTIALS {'sasl.username':'public',
'sasl.password':'public',
'security.protocol':'SASL_PLAINTEXT',
'sasl.mechanism':'PLAIN'};

README should be updated for that and this webpage: https://memgraph.com/docs/memgraph/2.1.1/tutorials/graph-stream-processing-with-kafka

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant