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

Topic with name: sample-topic for stream with ID: 1 was not found. #20

Open
pikhovkin opened this issue Jul 15, 2024 · 1 comment
Open

Comments

@pikhovkin
Copy link

I followed the following steps:

  1. docker run --rm -p 8080:8080 -p 3000:3000 -p 8090:8090 iggyrs/iggy:0.2.24
  2. pip install maturin
  3. maturin develop Installed iggy-py-0.2.3
  4. python producer.py

Result

Stream was created.
topic error {} InvalidResponse(2014, 18, "Invalid topic name")
Messages will be sent to stream: sample-stream, topic: sample-topic, partition: 1 with interval 500.0 ms.
exception: {} InvalidResponse(2011, 66, "Topic with name: sample-topic for stream with ID: 1 was not found.")
@FireMasterK
Copy link
Collaborator

Hi, you might need to activate the virtual environment before you run the example.
Here are the steps I used to test this (I've recently updated the client to a newer iggy version):

docker run -d --name iggy-server -p 3000:3000 -p 8090:8090 --restart unless-stopped iggyrs/iggy:0.4.21
maturin develop
source .venv/bin/activate
python python_examples/producer.py
python python_examples/consumer.py

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

2 participants