Closed helmchen closed 1 year ago
Greetings @helmchen,
Payara Platform 5 Community support has ended, please migrate your environment to Payara Platform 6 and verify if this issue affects its current release.
If you encounter any issues or have trouble transforming your applications and migrating them to Payara Platform 6 and if you want to remain on Payara Platform 5, you may consider acquiring a Payara Enterprise subscription.
Thank you, Elif
Hi @Elifzeynepedman
Unfortunately I have some libraries which I share with some legacy applications that currently can not be migrated to Jakakarta EE.
I'll stay on kafka-rar.0.7.0 on Payara Micro 5.x for the moment which works fine and consider subscribing to Payara Enterprise if I run into troubles with this constellation.
Brief Summary
Deployment and initialisation of the Kafka resource adapter on Payara Micro needs much more time than expected.
I have a Java EE application which should write data to a Kafka topic. After adding the Kafka resource adapter to the deployment, startup time of Payara Micro exceeds (Without even using the adapter).
The app is built as uber jar, using payara-micro-maven-plugin in version 1.4.0
set configs.config.server-config.connector-service.class-loading-policy=global
inpost-boot-commands
.Expected Outcome
Shorter startup time
Current Outcome
According to the logs initialisation takes more than 2 minutes:
Reproducer
java -jar target\yourappname-0.1-SNAPSHOT-microbundle.jar
Operating System
Windows 10 Enterprise
JDK Version
Temurin-17.0.7+7
Ecosystem Tool
Cloud Connectors