Class HibernateReactiveStateStore.Factory

  • All Implemented Interfaces:
    io.smallrye.reactive.messaging.kafka.commit.CheckpointStateStore.Factory
    Enclosing class:
    HibernateReactiveStateStore

    @ApplicationScoped
    @Identifier("quarkus-hibernate-reactive")
    public static class HibernateReactiveStateStore.Factory
    extends Object
    implements io.smallrye.reactive.messaging.kafka.commit.CheckpointStateStore.Factory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) org.hibernate.reactive.mutiny.Mutiny.SessionFactory sf  
    • Constructor Summary

      Constructors 
      Constructor Description
      Factory()  
    • Field Detail

      • sf

        @Inject
        org.hibernate.reactive.mutiny.Mutiny.SessionFactory sf
    • Constructor Detail

      • Factory

        public Factory()
    • Method Detail

      • create

        public io.smallrye.reactive.messaging.kafka.commit.CheckpointStateStore create​(io.smallrye.reactive.messaging.kafka.KafkaConnectorIncomingConfiguration config,
                                                                                       io.vertx.mutiny.core.Vertx vertx,
                                                                                       io.smallrye.reactive.messaging.kafka.KafkaConsumer<?,​?> consumer,
                                                                                       Class<?> stateType)
        Specified by:
        create in interface io.smallrye.reactive.messaging.kafka.commit.CheckpointStateStore.Factory