You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/11/03 08:10:32 UTC

[camel-performance-tests] 01/01: Adding JFR profile to Kafka S3 Profiling Example

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch kafka-s3-jfr
in repository https://gitbox.apache.org/repos/asf/camel-performance-tests.git

commit 0a3e564b165fa30df18d1262cfdfe4bf75bb12eb
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Nov 3 09:10:03 2021 +0100

    Adding JFR profile to Kafka S3 Profiling Example
---
 profiling/kafka-s3/pom.xml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/profiling/kafka-s3/pom.xml b/profiling/kafka-s3/pom.xml
index eb8fe6a..5adb5b1 100644
--- a/profiling/kafka-s3/pom.xml
+++ b/profiling/kafka-s3/pom.xml
@@ -151,5 +151,13 @@
                 <quarkus.container-image.tag>${project.version}-jvm</quarkus.container-image.tag>
             </properties>
         </profile>
+        <profile>
+            <id>jfr</id>
+            <properties>
+                <quarkus.jib.base-jvm-image>adoptopenjdk/openjdk11:ubi-minimal</quarkus.jib.base-jvm-image>
+                <quarkus.jib.jvm-entrypoint>java,-XX:+UseShenandoahGC,-Xlog:gc,-XX:StartFlightRecording=name=Test\,settings=/work/jfr/settings_for_heap.jfc\,filename=/work/jfr/output.jfr,-Xmx256m,-jar,/work/quarkus-run.jar</quarkus.jib.jvm-entrypoint>
+                <quarkus.container-image.tag>${project.version}-jvm</quarkus.container-image.tag>
+            </properties>
+        </profile>
     </profiles>
 </project>