All Projects → apache → Pulsar Dotpulsar

apache / Pulsar Dotpulsar

Licence: apache-2.0
The official .NET client library for Apache Pulsar

Projects that are alternatives of or similar to Pulsar Dotpulsar

pulsar-helm-chart
Official Apache Pulsar Helm Chart
Stars: ✭ 122 (+20.79%)
Mutual labels:  streaming, messaging, pubsub
liftbridge-api
Protobuf definitions for the Liftbridge gRPC API. https://github.com/liftbridge-io/liftbridge
Stars: ✭ 15 (-85.15%)
Mutual labels:  streaming, messaging, pubsub
pulsar-client-node
Apache Pulsar NodeJS Client
Stars: ✭ 88 (-12.87%)
Mutual labels:  streaming, messaging, pubsub
Liftbridge
Lightweight, fault-tolerant message streams.
Stars: ✭ 2,175 (+2053.47%)
Mutual labels:  messaging, pubsub, streaming
Pulsar Client Go
Apache Pulsar Go Client Library
Stars: ✭ 251 (+148.51%)
Mutual labels:  messaging, pubsub, streaming
Pulsar Manager
Apache Pulsar Manager
Stars: ✭ 247 (+144.55%)
Mutual labels:  messaging, pubsub, streaming
Centrifugo
Scalable real-time messaging server in a language-agnostic way. Set up once and forever.
Stars: ✭ 5,649 (+5493.07%)
Mutual labels:  messaging, streaming, pubsub
pulsar-adapters
Apache Pulsar Adapters
Stars: ✭ 18 (-82.18%)
Mutual labels:  streaming, messaging, pubsub
Pulsar
Apache Pulsar - distributed pub-sub messaging system
Stars: ✭ 10,118 (+9917.82%)
Mutual labels:  messaging, pubsub, streaming
Msngr.js
An asynchronous messaging library, written in JavaScript, for node and the web browser
Stars: ✭ 337 (+233.66%)
Mutual labels:  messaging, pubsub
Incubator Heron
Apache Heron (Incubating) is a realtime, distributed, fault-tolerant stream processing engine from Twitter
Stars: ✭ 3,571 (+3435.64%)
Mutual labels:  streaming, messaging
Centrifuge
Real-time messaging library for Go with scalability in mind
Stars: ✭ 446 (+341.58%)
Mutual labels:  messaging, pubsub
Graphik
Graphik is a Backend as a Service implemented as an identity-aware document & graph database with support for gRPC and graphQL
Stars: ✭ 277 (+174.26%)
Mutual labels:  pubsub, streaming
Nats.net
The official C# Client for NATS
Stars: ✭ 378 (+274.26%)
Mutual labels:  messaging, pubsub
pulsar-tracing
Tracing instrumentation for Apache Pulsar clients.
Stars: ✭ 13 (-87.13%)
Mutual labels:  messaging, pubsub
Ejabberd
Robust, Ubiquitous and Massively Scalable Messaging Platform (XMPP, MQTT, SIP Server)
Stars: ✭ 5,077 (+4926.73%)
Mutual labels:  messaging, pubsub
Jocko
Kafka implemented in Golang with built-in coordination (No ZK dep, single binary install, Cloud Native)
Stars: ✭ 4,445 (+4300.99%)
Mutual labels:  messaging, streaming
Hivemq Community Edition
HiveMQ CE is a Java-based open source MQTT broker that fully supports MQTT 3.x and MQTT 5. It is the foundation of the HiveMQ Enterprise Connectivity and Messaging Platform
Stars: ✭ 562 (+456.44%)
Mutual labels:  messaging, pubsub
Nats.rb
Ruby client for NATS, the cloud native messaging system.
Stars: ✭ 850 (+741.58%)
Mutual labels:  messaging, pubsub
Spring Streaming
SPA on Spring Boot 1.x, WebSockets and React, gradle, nodejs, spring-boot, gradle multi project, spring-mvc, spring-data, gradle dependency update plugin, react-router
Stars: ✭ 6 (-94.06%)
Mutual labels:  messaging, streaming

DotPulsar

CI - Unit

The official .NET client library for Apache Pulsar.

DotPulsar is written entirely in C# and implements Apache Pulsar's binary protocol.

What's new?

Have a look at the changelog.

Getting Started

Let's take a look at a "Hello world" example, where we first produce a message and then consume it.

Install the NuGet package DotPulsar and copy/paste the code below (you will be needing using declarations for 'DotPulsar' and 'DotPulsar.Extensions').

const string myTopic = "persistent://public/default/mytopic";

await using var client = PulsarClient.Builder()
                                     .Build(); //Connecting to pulsar://localhost:6650

var producer = client.NewProducer()
                     .Topic(myTopic)
                     .Create();

_ = await producer.Send(Encoding.UTF8.GetBytes("Hello World"));

var consumer = client.NewConsumer()
                     .SubscriptionName("MySubscription")
                     .Topic(myTopic)
                     .Create();

await foreach (var message in consumer.Messages())
{
    Console.WriteLine("Received: " + Encoding.UTF8.GetString(message.Data.ToArray()));
    await consumer.Acknowledge(message);
}

For a more in-depth tour of the API, please visit the Wiki.

Supported features

  • [X] Service discovery
  • [X] Automatic reconnect
  • [X] TLS connections
  • [X] TLS Authentication
  • [X] JSON Web Token Authentication
  • [X] Producer send with custom metadata
  • [X] Producer send with event time, sequence id, and delayed message delivery
  • [X] Producer send with key and ordering key
  • [X] Consumer subscription with initial position and priority level
  • [X] Consumer subscription types exclusive, shared, failover, and key shared
  • [X] Consumer receive and single + cumulative acknowledge
  • [X] Consumer and Reader seek on message-id and publish time
  • [X] Consumer unsubscribe
  • [X] Consume compacted topics
  • [X] Reader API
  • [X] Read/Consume/Acknowledge batched messages
  • [X] Pulsar Proxy
  • [X] LZ4 message compression
  • [X] ZLIB message compression
  • [X] ZSTD message compression
  • [X] SNAPPY message compression
  • [X] Schemas
    • Boolean
    • Bytes (using byte[] and ReadOnlySequence<byte>)
    • String (UTF-8, UTF-16, and US-ASCII)
    • INT8, INT16, INT32, and INT64
    • Float and Double
    • Time (using TimeSpan)
    • Timestamp and Date (using DateTime)

Roadmap

Help prioritizing the roadmap is most welcome, so please reach out and tell us what you want and need.

Join Our Community

Apache Pulsar has a Slack instance and there you'll find us in the #dev-dotpulsar channel. Just waiting for you to pop by :-)

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the Apache License Version 2.0 - see the LICENSE file for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].