Skip to content

[DOCS] Fix trivup example, now requires version flag, update Kafka example test version to current #5027

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,14 @@ First install required Python packages (trivup with friends):

$ python3 -m pip install -U -r requirements.txt

Note that currently trivup requires Python 3.7 or greater. If you receive
an error like "ModuleNotFoundError: No module named 'importlib.resources'",
it's probably due to the version of Python that you're using.

Bring up a Kafka cluster (with the specified version) and start an interactive
shell, when the shell is exited the cluster is brought down and deleted.

$ python3 -m trivup.clusters.KafkaCluster 2.3.0 # Broker version
$ python3 -m trivup.clusters.KafkaCluster --version 3.9.0 # Broker version
# You can also try adding:
# --ssl To enable SSL listeners
# --sasl <mechanism> To enable SASL authentication
Expand Down