Class KafkaHealthCheck

  • All Implemented Interfaces:
    org.eclipse.microprofile.health.HealthCheck

    @Readiness
    @ApplicationScoped
    public class KafkaHealthCheck
    extends Object
    implements org.eclipse.microprofile.health.HealthCheck
    • Field Detail

      • config

        @Inject
        @Identifier("default-kafka-broker")
        Map<String,​Object> config
    • Constructor Detail

      • KafkaHealthCheck

        public KafkaHealthCheck()
    • Method Detail

      • init

        @PostConstruct
        void init()
      • stop

        @PreDestroy
        void stop()
      • call

        public org.eclipse.microprofile.health.HealthCheckResponse call()
        Specified by:
        call in interface org.eclipse.microprofile.health.HealthCheck