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

DEVX-1192 Updates the cp-all-in-one docker-compose files to use config.env #498

Merged
merged 3 commits into from
Mar 27, 2020

Conversation

rspurgeon
Copy link
Contributor

No description provided.

… config.env

This commit does not resolve entirely DEVX-1192.  More commits will follow for other demos.
…rage config.env

This commit does not resolve entirely DEVX-1192.  More commits will follow for other demos.
… config.env

This commit does not resolve entirely DEVX-1192.  More commits will follow for other demos.
Copy link
Contributor

@ybyzek ybyzek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rspurgeon rspurgeon merged commit 2c9ab27 into 5.4.1-post Mar 27, 2020
@rspurgeon rspurgeon deleted the DEVX-1192-cp-all-in-one branch March 27, 2020 14:51
@rmoff
Copy link
Contributor

rmoff commented Apr 16, 2020

@rspurgeon is there background to this change? I was about to link to this from a StackOverflow answer, but am concerned that it'll be more confusing since it's not a standalone example, since it now depends on .env and thus also ../utils/config.env etc. For a user already struggling with Kafka and Docker, this may be a step too far ;-)

If there's good reasons to leave this as-is then maybe we should also publish standalone Docker Compose examples, WDYT?

@rspurgeon
Copy link
Contributor Author

rspurgeon commented Apr 16, 2020

@rmoff The associated Jira will have more details, but generally these kinds of changes helps us with a growing maintenence problem in addition to testing both publically available and internal only build artifacts (historical and 'future' versions). Our team has multiple repos w/ many version numbers and other variable bits like docker registries. The number of product versions is also growing as products are bifurcating from the Confluent Platform. So this change was part of a broader effort to lessen the maintenence cost of supporting that matrix. We also debated internally on our team the tradeoff between maintence and readability but landed on the need to reduce our maintence issues.

The docker-compose system still maintains "standalone" behavior as linking in an enviornment file is supported and documented by docker-compose itself. The "out of the box" behavior for users of "docker-compose up" should still work, but I get your concern about readability.

What if we added comments in the docker-compose files to explain how the linkage works and where to find the values? tag @ybyzek

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

Successfully merging this pull request may close these issues.

3 participants