Skip to content

Instantly share code, notes, and snippets.

View shinhyungyang's full-sized avatar

Shinhyung Yang shinhyungyang

View GitHub Profile
@DaGeRe
DaGeRe / instrumentT2WithKieker.md
Last active October 23, 2024 05:11
Instrument t2 Project With Kieker

Starting with Kieker Instrumentation

  • Download the spring instrument library: wget https://repo1.maven.org/maven2/org/springframework/spring-instrument/6.1.14/spring-instrument-6.1.14.jar
  • Kieker 2.0.2-SNAPSHOT is currently in the repo. If Kieker should be updated, please the following lines to the dependencies in the main build.gradle:
  aspectJarConfig "ch.qos.logback:logback-classic:$libLogbackVersion"
  aspectJarConfig "ch.qos.logback:logback-core:$libLogbackVersion"
  • Build: mvn clean package -DskipTests=true
  • Start: java -Dkieker.monitoring.writer.filesystem.FileWriter.customStoragePath=monitoring-logs -Dkieker.monitoring.skipDefaultAOPConfiguration=true -javaagent:spring-instrument-6.1.14.jar -javaagent:kieker-2.0.2-SNAPSHOT-aspectj.jar -jar target/t2-modulith.war
@DaGeRe
DaGeRe / t2projectLocalStart.md
Last active November 12, 2024 21:42
Run the t2 project locally

Running t2 Project Locally

The following describes the steps that are needed to run the t2 store locally. Before you start, please install the following things:

  • A recent JDK (17 or above)
  • Developer tools like git, wget, etc.
  • Apache JMeter (wget https://dlcdn.apache.org//jmeter/binaries/apache-jmeter-5.6.3.tgz && tar -xvf apache-jmeter-5.6.3.tgz, now you can start JMeter using java -jar apache-jmeter-5.6.3/bin/ApacheJMeter.jar)
  • Please download the project using git clone --recurse-submodules -j8 https://github.com/t2-project/t2-project.git and please replace the modulith submodule be its fork: cd t2-project/modulith/ && git remote add fork https://github.com/DaGeRe/t2-modulith.git && git pull fork with-mysql && git checkout with-mysql

Start MongoDB