-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into issue1864-cachetopics
- Loading branch information
Showing
151 changed files
with
4,780 additions
and
2,196 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED | ||
-XX:+IgnoreUnrecognizedVMOptions --add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-opens=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED --add-opens=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED --add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ With several downloads every week, many more companies which did not adopt a sol | |
- Bootstrap UI, Angular, Javascript, HTML, CSS | ||
- [Maven](https://maven.apache.org/) - Dependency Management | ||
- A maven wrapper, mvnw is included in the Klaw Git Repo | ||
- Java (Jdk 17), Spring boot 3, Spring security, SQL, Apache Kafka Admin client | ||
- Java (Jdk 17, 21), Spring boot 3, Spring security, SQL, Apache Kafka Admin client | ||
|
||
## Versioning | ||
|
||
|
@@ -116,6 +116,8 @@ For the versions available, see the [tags on this repository](https://github.com | |
|
||
- Help Wizard to setup Klaw | ||
|
||
[See Features of Klaw in docs](https://www.klaw-project.io/docs/features) | ||
|
||
## Documentation | ||
|
||
- User documentation : https://klaw-project.io/docs | ||
|
@@ -155,6 +157,8 @@ java -jar core/target/klaw-<version>.jar | |
|
||
java -jar cluster-api/target/cluster-api-<version>.jar --spring.config.location=cluster-api/target/classes/application.properties | ||
|
||
Or run bin/run-klaw.sh for Mac/Linux | ||
|
||
### With `make` | ||
|
||
1. Clone this repo containing two maven modules (core and cluster-api) : `git clone [email protected]:aiven/klaw.git` | ||
|
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,53 @@ | ||
#!/bin/bash | ||
|
||
# Declarations | ||
version=2.6.0 | ||
core_lib=./core/target/klaw-${version}.jar | ||
cluster_lib=./cluster-api/target/cluster-api-${version}.jar | ||
core_config=./core/target/classes/application.properties | ||
cluster_config=./cluster-api/target/classes/application.properties | ||
core_log_file=core.log | ||
clusterapi_log_file=cluster-api.log | ||
|
||
# Start klaw | ||
echo "Starting Klaw servers .." | ||
|
||
echo "---------- Klaw Core ----------" | ||
|
||
# Verify if config file exists | ||
if ! [ -f "$core_lib" ] | ||
then | ||
echo "$core_lib doesn't exist. Exiting .." | ||
exit 1 | ||
fi | ||
|
||
# Verify if process already exists | ||
if ps aux | grep 'core' | grep klaw | ||
then | ||
echo "Core is already running" 2>&1 | ||
else | ||
echo "Starting core" | ||
nohup java -jar ${core_lib} --spring.config.location=${core_config} > ${core_log_file} & | ||
ps aux | grep 'core' | grep klaw | ||
fi | ||
|
||
echo "---------- Klaw Cluster api ----------" | ||
|
||
# Verify if config file exists | ||
if ! [ -f "$cluster_lib" ]; | ||
then | ||
echo "$cluster_lib doesn't exist. Exiting .." | ||
exit 1 | ||
fi | ||
|
||
# Verify if process already exists | ||
if ps aux | grep 'cluster-api' | grep 'java' | ||
then | ||
echo "Cluster-api is already running" 2>&1 | ||
else | ||
echo "Starting cluster-api" | ||
nohup java -jar ${cluster_lib} --spring.config.location=${cluster_config} > ${clusterapi_log_file} & | ||
ps aux | grep 'cluster-api' | grep 'java' | ||
fi | ||
|
||
echo "Logging to $core_log_file $clusterapi_log_file" |
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
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
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
Oops, something went wrong.