Interface EventHubsProvisioner


  • public interface EventHubsProvisioner
    An interface to provision Event Hubs resources.
    • Method Detail

      • provisionNamespace

        void provisionNamespace​(String namespace)
        Provision the namespace of the Event Hubs.
        Parameters:
        namespace - the namespace of the Event Hubs.
      • provisionEventHub

        void provisionEventHub​(String namespace,
                               String eventHub)
        Provision the namespace and event hub of the Event Hubs.
        Parameters:
        namespace - the namespace of the Event Hubs.
        eventHub - the event hub of the Event Hubs.
      • provisionConsumerGroup

        void provisionConsumerGroup​(String namespace,
                                    String eventHub,
                                    String consumerGroup)
        Provision the namespace, event hub and consumer group of the Event Hubs.
        Parameters:
        namespace - the namespace of the Event Hubs.
        eventHub - the event hub of the Event Hubs.
        consumerGroup - the consumer of the event hub.