Skip to content

pablocastilla/NServiceBus.Kafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kafka transport for NServiceBus. Part of: https://pablocastilla.wordpress.com/2017/01/03/my-proposal-for-joining-net-and-the-hadoop-ecosystem/

The nuget package NuGet Status

https://www.nuget.org/packages/NServiceBus.Transports.Kafka/

PM> Install-Package NServiceBus.Transports.Kafka

Documentation

https://docs.particular.net/nservicebus/kafka/

Usage

Example of configuring the consumer:

        endpointConfiguration.UseTransport<KafkaTransport>().ConnectionString("127.0.0.1:9092");

Example of configuring the sender:

   static async Task<IEndpointInstance> GetInstance()
    {
        var endpointConfiguration = new EndpointConfiguration("EndpointName");
        endpointConfiguration.UseTransport<KafkaTransport>().ConnectionString("127.0.0.1:9092"); ;
        endpointConfiguration.SendOnly();
        return await Endpoint.Start(endpointConfiguration)
            .ConfigureAwait(false);
    }

About

Kafka transport for NServiceBus

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages