Mirror of Apache Kafka site

Clone this repo:
  1. 07bc24d MINOR: add jeffkbkim to committers (#653) by Jeff Kim · 35 hours ago asf-site
  2. 2f8bbba KAFKA-18047: Add org.apache.kafka.automatic.config.providers to System Properties section (#651) by TengYao Chi · 10 days ago
  3. 8e7097d MINOR: add release signing key by Matthias J. Sax · 10 days ago
  4. df56b5a MINOR: Add 3.8.x and 3.9.x to Streams' compatibility matrix (#650) by Bruno Cadonna · 2 weeks ago
  5. 32d33c4 add alive stream threads to Kafka Streams metrics (#649) by Bill Bejeck · 3 weeks ago

How to preview documentation changes locally?

The documentation can be hosted on a local webserver via httpd.

You can run it with the following command, note that it requires docker:

./start-preview.sh

Then you can open localhost:8080 on your browser and browse the documentation.

To kill the process, just type ctrl + c.

How to preview the latest documentation changes in Kafka repository?

  1. Generating document from kafka repository:
# change directory into kafka repository
cd KAFKA_REPO
./gradlew clean siteDocTar
# supposing built with scala 2.13
tar zxvf core/build/distributions/kafka_2.13-$(./gradlew properties | grep version: | awk '{print $NF}' | head -n 1)-site-docs.tgz
  1. Copying the generated documents from Kafka repository into kafka-site, and preview them (note that it requires docker):
# change directory into kafka-site repository
cd KAFKA_SITE_REPO
# copy the generated documents into dev folder
rm -rf dev
mkdir dev
cp -r KAFKA_REPO/site-docs/* dev
# preview it
./start-preview.sh

Then you can open http://localhost:8080/dev/documentation/ on your browser and browse the generated documentation.