package de.assecutor.votianlt.mqtt;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.event.ApplicationReadyEvent;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;

/**
 * Kept for compatibility: The actual MQTT v5 lifecycle is managed by
 * MqttV5ClientManager. This runner only logs application readiness.
 */
@Component
@Slf4j
public class MqttClientRunner {

    @EventListener(ApplicationReadyEvent.class)
    public void onApplicationReady() {
        log.info("Application ready. MQTT v5 client lifecycle managed by MqttV5ClientManager.");
    }
}
