Skip to content

Commit a9ae3c4

Browse files
committed
update docs
1 parent 116b151 commit a9ae3c4

File tree

3 files changed

+41
-7
lines changed

3 files changed

+41
-7
lines changed

README.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,41 @@ This project aims to be a full-featured web-based [Apache Kafka](https://kafka.a
3030

3131
## Installation ##
3232

33-
TODO
33+
Download the latest [release](https://github.com/SourceLabOrg/kafka-webview/releases) package and extract the ZIP file.
34+
35+
### Configuration
36+
37+
Edit the **config.yml** file at the root of the extracted package.
38+
39+
The **server port** can be modified to set what port Kafka WebView UI will bind to.
40+
41+
The **app key** should be modified to be unique to your installation. This key will be used for symmetric encryption of
42+
JKS/TrustStore secrets if you configure any SSL enabled Kafka clusters.
43+
44+
By default config.yml will look similar to:
45+
46+
```yml
47+
server:
48+
port: 8080
49+
50+
security:
51+
require-ssl: false
52+
53+
## Various App Configs
54+
app:
55+
key: "SuperSecretKey"
56+
```
57+
58+
### Starting the service
59+
60+
The Kafka WebView UI can be started by running the **start.sh** script from root of the extracted package.
61+
This should start a webserver running on the port you configured.
62+
63+
### Logging in for the first time
64+
65+
On first start up a default Administrator user will be created for you. Login using `[email protected]` with password `admin`
66+
67+
**NOTE** After logging in you should create your own Administrator user and remove the default account.
3468

3569
## Setup ##
3670

kafka-webview-ui/src/assembly/distribution/start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ cd "${0%/*}"
99
export SPRING_CONFIG_LOCATION=classpath:/config/base.yml,config.yml
1010

1111
## launch webapp
12-
java -jar kafka-webview*.jar
12+
java -jar kafka-webview-ui-*.jar
1313

1414
## Change back to previous directory
1515
cd $CWD

kafka-webview-ui/src/main/resources/templates/home/helpContent.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,14 +148,14 @@ <h2>Writing Custom Deserializers</h2>
148148
<br/>
149149
<h2>Example Project</h2>
150150
<p class="mb-1">
151-
To get up and going quickly, the <a href="#" target="_blank">Kafka-WebView-Example</a> project on GitHub can be cloned and used as a template.
151+
To get up and going quickly, the <a href="https://github.com/SourceLabOrg/kafka-webview-examples" target="_blank">Kafka-WebView-Examples</a> project on GitHub can be cloned and used as a template.
152152
This Maven based example project is configured with all of the correct dependencies and has a few example implementations.<br/>
153153
</p>
154154
<br/>
155155

156156
<h2>Packaging a Jar</h2>
157157
<p class="mb-1">
158-
If you're using the <a href="#" target="_blank">Kafka-WebView-Example</a> project, it should be as simple as issuing the command `mvn package` and retrieving the compiled Jar from the target/ directory.<br/>
158+
If you're using the <a href="https://github.com/SourceLabOrg/kafka-webview-examples" target="_blank">Kafka-WebView-Examples</a> project, it should be as simple as issuing the command `mvn package` and retrieving the compiled Jar from the target/ directory.<br/>
159159
<br/>
160160
If you're building from your own project, you'll need to package a Jar that contains your implementation along with
161161
any of it's required dependencies.<br/>
@@ -167,7 +167,7 @@ <h2>Packaging a Jar</h2>
167167
<div class="tab-pane" id="filters" role="tabpanel">
168168
<h2>Writing Custom Filters</h2>
169169
<p class="mb-1">
170-
The <a href="https://github.com/Crim/kafka-webview/blob/master/kafka-webview-plugin/src/main/java/org/sourcelab/kafkaview/plugin/filter/RecordFilter.java" target="_blank">RecordFilter Interface</a>
170+
The <a href="https://github.com/SourceLabOrg/kafka-webview/blob/master/kafka-webview-plugin/src/main/java/org/sourcelab/kafka/webview/ui/plugin/filter/RecordFilter.java" target="_blank">RecordFilter Interface</a>
171171
is provided by Kafka WebView and is NOT part of the standard Kafka library. The interface looks as follows:<br/>
172172
<br>
173173
</p>
@@ -222,14 +222,14 @@ <h2>Writing Custom Filters</h2>
222222
<br/>
223223
<h2>Example Project</h2>
224224
<p class="mb-1">
225-
To get up and going quickly, the <a href="#" target="_blank">Kafka-WebView-Example</a> project on GitHub can be cloned and used as a template.
225+
To get up and going quickly, the <a href="https://github.com/SourceLabOrg/kafka-webview-examples" target="_blank">Kafka-WebView-Examples</a> project on GitHub can be cloned and used as a template.
226226
This Maven based example project is configured with all of the correct dependencies and has a few example implementations.<br/>
227227
</p>
228228
<br/>
229229

230230
<h2>Packaging a Jar</h2>
231231
<p class="mb-1">
232-
If you're using the <a href="#" target="_blank">Kafka-WebView-Example</a> project, it should be as simple as issuing the command `mvn package` and retrieving the compiled Jar from the target/ directory.<br/>
232+
If you're using the <a href="https://github.com/SourceLabOrg/kafka-webview-examples" target="_blank">Kafka-WebView-Examples</a> project, it should be as simple as issuing the command `mvn package` and retrieving the compiled Jar from the target/ directory.<br/>
233233
<br/>
234234
If you're building from your own project, you'll need to package a Jar that contains your implementation along with
235235
any of it's required dependencies.<br/>

0 commit comments

Comments
 (0)