public static DotPulsarListenerConfiguration ListenToPulsarTopic(this IEndpoints endpoints, ConsumerOptions consumerConfig)
        {
            var endpoint = endpoints.PulsarTransport().EndpointFor(consumerConfig);

            endpoint.IsListener = true;
            return(new DotPulsarListenerConfiguration(endpoint));
        }
        /// <summary>
        /// Configure connection and authentication information about the Azure Service Bus usage
        /// within this Jasper application
        /// </summary>
        /// <param name="endpoints"></param>
        /// <param name="configure"></param>
        public static void ConfigurePulsar(this IEndpoints endpoints, Action <DotPulsarTransport> configure)
        {
            var transport = endpoints.PulsarTransport();

            endpoints.As <TransportCollection>().Subscribers.Fill(transport.Topics);
            configure(transport);
        }