Class EventHubConsumerStarter
java.lang.Object
org.chenile.pubsub.azure.configuration.EventHubConsumerStarter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate static final org.slf4j.Logger -
Constructor Summary
ConstructorsConstructorDescriptionEventHubConsumerStarter(Map<String, com.azure.messaging.eventhubs.EventProcessorClient> consumerProcessors, ChenileEventHubProperties eventHubProperties) -
Method Summary
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
consumerProcessors
-
autoStart
private final boolean autoStart
-
-
Constructor Details
-
EventHubConsumerStarter
public EventHubConsumerStarter(Map<String, com.azure.messaging.eventhubs.EventProcessorClient> consumerProcessors, ChenileEventHubProperties eventHubProperties)
-
-
Method Details
-
run
@EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class) public void run() -
startConsumersManually
public void startConsumersManually()Optional: manual start method
-
CHENILE