Repository: kafka-site Updated Branches: refs/heads/asf-site 8aa235531 -> 11035e597 (forced update)
Replace hardcoded 0.10.2 references with version variable Introduce fullDotVersion and use it in other places where it makes sense. Project: http://git-wip-us.apache.org/repos/asf/kafka-site/repo Commit: http://git-wip-us.apache.org/repos/asf/kafka-site/commit/11035e59 Tree: http://git-wip-us.apache.org/repos/asf/kafka-site/tree/11035e59 Diff: http://git-wip-us.apache.org/repos/asf/kafka-site/diff/11035e59 Branch: refs/heads/asf-site Commit: 11035e5979560e7482ba22c8bd63b356f4e59347 Parents: 98c07f4 Author: Ismael Juma <[email protected]> Authored: Wed Jun 28 12:05:25 2017 +0100 Committer: Ismael Juma <[email protected]> Committed: Wed Jun 28 12:18:12 2017 +0100 ---------------------------------------------------------------------- 0110/api.html | 8 ++++---- 0110/js/templateData.js | 3 ++- 0110/quickstart.html | 8 ++++---- 3 files changed, 10 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kafka-site/blob/11035e59/0110/api.html ---------------------------------------------------------------------- diff --git a/0110/api.html b/0110/api.html index 05768a1..9777186 100644 --- a/0110/api.html +++ b/0110/api.html @@ -39,7 +39,7 @@ <dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka-clients</artifactId> - <version>{{dotVersion}}.0</version> + <version>{{fullDotVersion}}</version> </dependency> </pre> @@ -55,7 +55,7 @@ <dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka-clients</artifactId> - <version>{{dotVersion}}.0</version> + <version>{{fullDotVersion}}</version> </dependency> </pre> @@ -74,7 +74,7 @@ <dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka-streams</artifactId> - <version>{{dotVersion}}.0</version> + <version>{{fullDotVersion}}</version> </dependency> </pre> @@ -96,7 +96,7 @@ <dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka-clients</artifactId> - <version>{{dotVersion}}.0</version> + <version>{{fullDotVersion}}</version> </dependency> </pre> For more information about the AdminClient APIs, see the <a href="/{{version}}/javadoc/index.html?org/apache/kafka/clients/admin/AdminClient.html" title="Kafka {{dotVersion}} Javadoc">javadoc</a>. http://git-wip-us.apache.org/repos/asf/kafka-site/blob/11035e59/0110/js/templateData.js ---------------------------------------------------------------------- diff --git a/0110/js/templateData.js b/0110/js/templateData.js index 2f32444..b7a7348 100644 --- a/0110/js/templateData.js +++ b/0110/js/templateData.js @@ -19,4 +19,5 @@ limitations under the License. var context={ "version": "0110", "dotVersion": "0.11.0" -}; \ No newline at end of file + "fullDotVersion": "0.11.0.0" +}; http://git-wip-us.apache.org/repos/asf/kafka-site/blob/11035e59/0110/quickstart.html ---------------------------------------------------------------------- diff --git a/0110/quickstart.html b/0110/quickstart.html index 6509f75..40aa2fb 100644 --- a/0110/quickstart.html +++ b/0110/quickstart.html @@ -25,11 +25,11 @@ Since Kafka console scripts are different for Unix-based and Windows platforms, <h4><a id="quickstart_download" href="#quickstart_download">Step 1: Download the code</a></h4> -<a href="https://www.apache.org/dyn/closer.cgi?path=/kafka/0.10.2.0/kafka_2.11-0.10.2.0.tgz" title="Kafka downloads">Download</a> the 0.10.2.0 release and un-tar it. +<a href="https://www.apache.org/dyn/closer.cgi?path=/kafka/{{fullDotVersion}}/kafka_2.11-{{fullDotVersion}}.tgz" title="Kafka downloads">Download</a> the {{fullDotVersion}} release and un-tar it. <pre class="brush: bash;"> -> tar -xzf kafka_2.11-0.10.2.0.tgz -> cd kafka_2.11-0.10.2.0 +> tar -xzf kafka_2.11-{{fullDotVersion}}.tgz +> cd kafka_2.11-{{fullDotVersion}} </pre> <h4><a id="quickstart_startserver" href="#quickstart_startserver">Step 2: Start the server</a></h4> @@ -187,7 +187,7 @@ my test message 2 On Windows use: <pre class="brush: bash;"> > wmic process get processid,caption,commandline | find "java.exe" | find "server-1.properties" -java.exe java -Xmx1G -Xms1G -server -XX:+UseG1GC ... build\libs\kafka_2.11-0.10.2.0.jar" kafka.Kafka config\server-1.properties 644 +java.exe java -Xmx1G -Xms1G -server -XX:+UseG1GC ... build\libs\kafka_2.11-{{fullDotVersion}}.jar" kafka.Kafka config\server-1.properties 644 > taskkill /pid 644 /f </pre>
