Show / Hide Table of Contents

    Class SilverbackBuilderAddKafkaEndpointsExtensions

    Adds the AddKafkaEndpoints method to the ISilverbackBuilder.

    Inheritance
    object
    SilverbackBuilderAddKafkaEndpointsExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Microsoft.Extensions.DependencyInjection
    Assembly: Silverback.Integration.Kafka.dll
    Syntax
    public static class SilverbackBuilderAddKafkaEndpointsExtensions

    Methods

    | Improve this doc View source

    AddKafkaEndpoints(ISilverbackBuilder, Action<IKafkaEndpointsConfigurationBuilder>)

    Adds the Kafka endpoints.

    Declaration
    public static ISilverbackBuilder AddKafkaEndpoints(this ISilverbackBuilder silverbackBuilder, Action<IKafkaEndpointsConfigurationBuilder> configureAction)
    Parameters
    Type Name Description
    ISilverbackBuilder silverbackBuilder

    The ISilverbackBuilder that references the IServiceCollection to add the services to.

    Action<IKafkaEndpointsConfigurationBuilder> configureAction

    An Action<T> that takes the IKafkaEndpointsConfigurationBuilder and adds the outbound and inbound endpoints.

    Returns
    Type Description
    ISilverbackBuilder

    The ISilverbackBuilder so that additional calls can be chained.

    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini