zarusz / SlimMessageBus

Lightweight message bus interface for .NET (pub/sub and request-response) with transport plugins for popular message brokers.
Apache License 2.0
475 stars 78 forks source link

[Host.ApachePulsar] Contributing provider Apache Pulsar #57

Open Juandavi1 opened 3 years ago

Juandavi1 commented 3 years ago

Hi,

I would like to contribute to the project by building a provider for Apache Pulsar.

I would like to hear what you think. I saw in the CONTRIBUTING.md file that we need a discussion about the high-level design.

I am new to open source projects. If you can guide me a little, I would appreciate it. Thank you so much

zarusz commented 3 years ago

Hi @Juandavi1 , thanks for starting the discussion about the Pulsar provider and helping evolve SMB.

I don't have anything prescriptive in my mind about how to start this. It would be good if you could share your thoughts about what features you'd like to use from Pulsar and what types of messaging you'd like to support in SMB (pub/sub, request-response, queue). It doesn't have to be too long- a few bullet points would do. I have typically implemented these providers on a separate feature branch, initially, I'd started with a simpler scenario like pub/sub, then added request-response or queues at a later point. In the next stages, I have added some transport-specific features/extensions like in the case of ASB or Kafka - the ability to select partitioning key. It all depends on how much time you have. In an ideal world, it's better to have a rich feature set from the start.

Also, it helps provide me feedback if the sample ConsoleApp is extended with your provider - it allows me to understand how do you configure the transport and how well is it then abstracted to the SMB interface.

It might also be good to start with an initial implementation (taking another transport as an example) and adding WiP PR. Ideally, I would like to see in that PR:

It doesn't all have to come at once :) Let me know if you need any other guidance.

Cheers,

Juandavi1 commented 2 years ago

Hi @zarusz , I've been away for a while. now I have time to start working on this provider.

Thank you very much for the suggestions. I will create the WiP PR.