forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6db6a38
commit 1a8b36b
Showing
33 changed files
with
1,647 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
...t/deployment/src/main/java/io/quarkus/kafka/client/deployment/KafkaBuildTimeUiConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package io.quarkus.kafka.client.deployment; | ||
|
||
import io.quarkus.runtime.annotations.ConfigGroup; | ||
import io.quarkus.runtime.annotations.ConfigItem; | ||
|
||
@ConfigGroup | ||
public class KafkaBuildTimeUiConfig { | ||
|
||
/** | ||
* The path where Kafka UI is available. | ||
* The value `/` is not allowed as it blocks the application from serving anything else. | ||
* By default, this URL will be resolved as a path relative to `${quarkus.http.non-application-root-path}`. | ||
*/ | ||
@ConfigItem(defaultValue = "kafka-ui") | ||
public String rootPath; | ||
/** | ||
* Whether or not to enable Kafka Dev UI in non-development native mode. | ||
*/ | ||
@ConfigItem(name = "handlerpath", defaultValue = "kafka-admin") | ||
public String handlerRootPath; | ||
/** | ||
* Always include the UI. By default, this will only be included in dev and test. | ||
* Setting this to true will also include the UI in Prod | ||
*/ | ||
@ConfigItem(defaultValue = "false") | ||
public boolean alwaysInclude; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
extensions/kafka-client/deployment/src/main/resources/dev-templates/embedded.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<a href="{config:http-path('quarkus.kafka-client.ui.root-path')}/" class="badge badge-light"> | ||
<i class="fa fa-project-diagram fa-fw"></i> | ||
Kafka UI</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.