Class KafkaConnector

  • All Implemented Interfaces:
    io.smallrye.reactive.messaging.health.HealthReporter, org.eclipse.microprofile.reactive.messaging.spi.ConnectorFactory, org.eclipse.microprofile.reactive.messaging.spi.IncomingConnectorFactory, org.eclipse.microprofile.reactive.messaging.spi.OutgoingConnectorFactory

    @ApplicationScoped
    public class KafkaConnector
    extends Object
    implements org.eclipse.microprofile.reactive.messaging.spi.IncomingConnectorFactory, org.eclipse.microprofile.reactive.messaging.spi.OutgoingConnectorFactory, io.smallrye.reactive.messaging.health.HealthReporter
    • Field Detail

      • TRACER

        public static io.opentelemetry.api.trace.Tracer TRACER
    • Constructor Detail

      • KafkaConnector

        public KafkaConnector()
    • Method Detail

      • terminate

        public void terminate​(@Observes(notifyObserver=IF_EXISTS) @Priority(50) @BeforeDestroyed(javax.enterprise.context.ApplicationScoped.class)
                              Object event)
      • getPublisherBuilder

        public org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends org.eclipse.microprofile.reactive.messaging.Message<?>> getPublisherBuilder​(org.eclipse.microprofile.config.Config config)
        Specified by:
        getPublisherBuilder in interface org.eclipse.microprofile.reactive.messaging.spi.IncomingConnectorFactory
      • getSubscriberBuilder

        public org.eclipse.microprofile.reactive.streams.operators.SubscriberBuilder<? extends org.eclipse.microprofile.reactive.messaging.Message<?>,​Void> getSubscriberBuilder​(org.eclipse.microprofile.config.Config config)
        Specified by:
        getSubscriberBuilder in interface org.eclipse.microprofile.reactive.messaging.spi.OutgoingConnectorFactory
      • getStartup

        public io.smallrye.reactive.messaging.health.HealthReport getStartup()
        Specified by:
        getStartup in interface io.smallrye.reactive.messaging.health.HealthReporter
      • getReadiness

        public io.smallrye.reactive.messaging.health.HealthReport getReadiness()
        Specified by:
        getReadiness in interface io.smallrye.reactive.messaging.health.HealthReporter
      • getLiveness

        public io.smallrye.reactive.messaging.health.HealthReport getLiveness()
        Specified by:
        getLiveness in interface io.smallrye.reactive.messaging.health.HealthReporter
      • getConsumerChannels

        public Set<String> getConsumerChannels()
      • getProducerChannels

        public Set<String> getProducerChannels()