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

Legacy mongo shell #24

Open
teukkis opened this issue Sep 6, 2022 · 1 comment
Open

Legacy mongo shell #24

teukkis opened this issue Sep 6, 2022 · 1 comment

Comments

@teukkis
Copy link

teukkis commented Sep 6, 2022

A service "mongo1-setup" in .../v1.7/quickstart/docker-compose.yml uses legacy mongo shell to initialize the replica set. But mongo:latest, which is defined in the Dockerfile pulls the version 6.0.1 ( in my case ), which comes with mongosh instead of mongo.

https://github.com/mongodb-university/kafka-edu/blob/main/docs-examples/examples/v1.7/quickstart/docker-compose.yml
https://www.mongodb.com/docs/manual/release-notes/6.0-compatibility/#legacy-mongo-shell-removed

@biniona-mongodb
Copy link
Contributor

Hi @teukkis, thank you for brining this to our attention.

You are correct. We are updating the command to use mongosh instead of mongo, and have pinned the versions of images used in the quick start to reduce the likelihood of this happening in the future. You can track the status of this update in this PR #25.

Thank you, Alek

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