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

Support Confluent Platform 6 in Kafka #3293

Merged
merged 2 commits into from
Oct 7, 2020
Merged

Conversation

bsideup
Copy link
Member

@bsideup bsideup commented Sep 30, 2020

No description provided.

@@ -139,8 +139,8 @@ protected void containerIsStarting(InspectContainerResponse containerInfo, boole
private String startZookeeper() {
ExecCreateCmdResponse execCreateCmdResponse = dockerClient.execCreateCmd(getContainerId())
.withCmd("sh", "-c", "" +
"printf 'clientPort=" + ZOOKEEPER_PORT + "\ndataDir=/var/lib/zookeeper/data\ndataLogDir=/var/lib/zookeeper/log' > /zookeeper.properties\n" +
"zookeeper-server-start /zookeeper.properties\n"
"printf 'clientPort=" + ZOOKEEPER_PORT + "\ndataDir=/var/lib/zookeeper/data\ndataLogDir=/var/lib/zookeeper/log' > zookeeper.properties\n" +
Copy link
Member

Choose a reason for hiding this comment

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

These \ns within the string seem likely to lead to mistakes. As we're editing it, should we break this apart?

e.g.

Suggested change
"printf 'clientPort=" + ZOOKEEPER_PORT + "\ndataDir=/var/lib/zookeeper/data\ndataLogDir=/var/lib/zookeeper/log' > zookeeper.properties\n" +
"printf 'clientPort=" + ZOOKEEPER_PORT + "\n" +
"dataDir=/var/lib/zookeeper/data\n" +
"dataLogDir=/var/lib/zookeeper/log' > zookeeper.properties\n" +

(🙏 save us, text blocks...)

@bsideup bsideup merged commit ae46d10 into master Oct 7, 2020
@delete-merged-branch delete-merged-branch bot deleted the support_confluent_platform_6 branch October 7, 2020 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants