| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| |
| --> |
| <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| |
| <parent> |
| <groupId>org.apache.camel.tests</groupId> |
| <artifactId>profiling-kafka-parent</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>kafka-minio</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| <packaging>jar</packaging> |
| <name>Camel Performance :: Profiling :: Kafka Minio</name> |
| <description>A Kafka to Minio containeraized application to show profiling practices</description> |
| |
| <dependencies> |
| <dependency> |
| <groupId>io.quarkus</groupId> |
| <artifactId>quarkus-container-image-jib</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel.k</groupId> |
| <artifactId>camel-k-runtime</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel.quarkus</groupId> |
| <artifactId>camel-quarkus-kafka</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel.quarkus</groupId> |
| <artifactId>camel-quarkus-kamelet</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel.quarkus</groupId> |
| <artifactId>camel-quarkus-minio</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel.quarkus</groupId> |
| <artifactId>camel-quarkus-yaml-dsl</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel.kamelets</groupId> |
| <artifactId>camel-kamelets-catalog</artifactId> |
| <version>${camel-kamelets-catalog.version}</version> |
| </dependency> |
| </dependencies> |
| |
| <profiles> |
| <profile> |
| <id>jvm</id> |
| <activation> |
| <property> |
| <name>!native</name> |
| </property> |
| </activation> |
| <properties> |
| <quarkus.jib.base-jvm-image>adoptopenjdk/openjdk11:ubi-minimal</quarkus.jib.base-jvm-image> |
| <quarkus.jib.jvm-entrypoint>java,-XX:+UseShenandoahGC,-Xlog:gc,-Xmx64m,-jar,/work/quarkus-run.jar</quarkus.jib.jvm-entrypoint> |
| <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,-Xmx128m,-jar,/work/quarkus-run.jar</quarkus.jib.jvm-entrypoint> |
| <quarkus.container-image.tag>${project.version}-jvm</quarkus.container-image.tag> |
| </properties> |
| </profile> |
| </profiles> |
| </project> |