Skip to content

Commit 4326b83

Browse files
authored
better help references (#45)
1 parent 7be85d6 commit 4326b83

File tree

4 files changed

+14
-1
lines changed

4 files changed

+14
-1
lines changed

kafka-webview-ui/src/main/resources/templates/configuration/filter/create.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<div class="col-md-9">
6262
<input
6363
id="classpath" name="classpath" class="form-control" type="text"
64-
placeholder="Classpath to deserializer implementation"
64+
placeholder="Classpath to record filter implementation"
6565
th:errorclass="is-invalid"
6666
th:field="*{classpath}">
6767
<div class="invalid-feedback" th:if="${#fields.hasErrors('classpath')}" th:errors="*{classpath}"/>

kafka-webview-ui/src/main/resources/templates/configuration/filter/index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,13 @@
1616
<div class="card-header">
1717
<i class="fa fa-align-justify"></i>
1818
Filters
19+
1920
<div class="btn-group float-right" role="group" aria-label="Button group">
21+
<a class="btn" href="/help#filters" style="padding-bottom: 0;">
22+
<i class="icon-question"></i>
23+
&nbsp; Help
24+
</a>
25+
2026
<a class="btn" href="/configuration/filter/create" style="padding-bottom: 0;">
2127
<i class="icon-settings"></i>
2228
&nbsp;Create new

kafka-webview-ui/src/main/resources/templates/configuration/messageFormat/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
<i class="fa fa-align-justify"></i>
2121
Custom Message Formats
2222
<div class="btn-group float-right" role="group" aria-label="Button group">
23+
<a class="btn" href="/help#deserializers" style="padding-bottom: 0;">
24+
<i class="icon-question"></i>
25+
&nbsp; Help
26+
</a>
27+
2328
<a class="btn" href="/configuration/messageFormat/create" style="padding-bottom: 0;">
2429
<i class="icon-settings"></i>
2530
&nbsp;Create new

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@ <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+
Filters allow you to implement an Interface that can be used on the server side to filter messages coming from Kafka. There are several benefits to doing filtering on the server side in this way. You can use these as a simple search-like filter and avoid passing large amounts of data to the client web browser when you're looking for a small subset of messages. Filters could also be used to enforce a filtered view of data from a Topic.
171+
170172
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>
171173
is provided by Kafka WebView and is NOT part of the standard Kafka library. The interface looks as follows:<br/>
172174
<br>

0 commit comments

Comments
 (0)