Interface ProvisioningProvider<C extends ConsumerProperties,​P extends ProducerProperties>

    • Method Detail

      • provisionProducerDestination

        ProducerDestination provisionProducerDestination​(String name,
                                                         P properties)
                                                  throws ProvisioningException
        Creates middleware destination on the physical broker for the producer to send data. The implementation is middleware-specific.
        Parameters:
        name - the name of the producer destination
        properties - producer properties
        Returns:
        reference to ProducerDestination that represents a producer
        Throws:
        ProvisioningException - on underlying provisioning errors from the middleware
      • provisionConsumerDestination

        ConsumerDestination provisionConsumerDestination​(String name,
                                                         String group,
                                                         C properties)
                                                  throws ProvisioningException
        Creates the middleware destination on the physical broker for the consumer to consume data. The implementation is middleware-specific.
        Parameters:
        name - the name of the destination
        group - the consumer group
        properties - consumer properties
        Returns:
        reference to ConsumerDestination that represents a consumer
        Throws:
        ProvisioningException - on underlying provisioning errors from the middleware