make it easy to use kotlin coroutines in quarkus project
make it easy to use kotlin coroutines in quarkus project
create a project with quarkus starter(https://code.quarkus.io/).
recommanded extension(s):
optional extension(s):
<repository>
<id>2-jitpack</id>
<url>https://jitpack.io</url>
</repository>
<dependency>
<groupId>com.github.rainmanhhh</groupId>
<artifactId>ez-quarkus-vertx-kotlin</artifactId>
<version>1.0</version>
</dependency>
quarkus:
index-dependency:
kotlinx-coroutines:
group-id: org.jetbrains.kotlinx
artifact-id: kotlinx-coroutines-core
eureka: # if you don't use eureka, skip this part
region: default
health-check-url: ${quarkus.smallrye-health.root-path:/health}
status-page-url: ${quarkus.swagger-ui.path:/swagger-ui}
service-url:
defaultZone: http://127.0.0.1:8761/eureka/
swagger-ui:
always-include: true
log:
category:
"io.quarkus.eureka.operation.heartbeat.HeartBeatOperation": # if you don't use eureka, skip this part
level: WARNING
"%dev":
quarkus:
vertx: # use small pools and disable thread-blocking check for profile dev
event-loops-pool-size: 1
worker-pool-size: 1
warning-exception-time: 1h
max-event-loop-execute-time: 1h
max-worker-execute-time: 1h