Skip to content

Commit 3f3afef

Browse files
committed
feat: Enable Quarkus management interface at build time
Add application.properties with quarkus.management.enabled=true as a build-time property. This enables a separate HTTP server on port 9000 for health/ready/live endpoints, using its own thread pool independent from the main Vert.x event loop. Without this, health probes share the same event loop that gets blocked for 10-20+ seconds during Iceberg commits and GCS uploads, causing K8s to consider the pod unhealthy and restart it. Signed-off-by: ivan.senyk <ivan.senyk94@gmail.com>
1 parent f2ce4b3 commit 3f3afef

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# ============================================
2+
# Quarkus Build-Time Properties
3+
# ============================================
4+
# Queste proprieta' vengono applicate durante la compilazione Maven
5+
# e NON possono essere modificate a runtime.
6+
7+
# Management Interface: espone health/ready/live su porta separata (9000)
8+
# con thread pool indipendente dal Vert.x event loop principale.
9+
# Motivazione: durante operazioni I/O pesanti (commit Iceberg verso GCS,
10+
# upload Parquet), il Vert.x event loop si blocca per 10-20+ secondi,
11+
# causando timeout sulle health probe K8s che usano la stessa porta 8080.
12+
# Con il management interface su porta 9000, le probe rispondono sempre
13+
# anche durante i blocchi, evitando restart inutili del pod.
14+
quarkus.management.enabled=true
15+
quarkus.management.port=9000

0 commit comments

Comments
 (0)