Cooperation on Pulsar client for Rust #251
Replies: 28 comments
-
Hello @Anonymitaet, What would be the next steps for integration under the Pulsar project? |
Beta Was this translation helpful? Give feedback.
-
Yeah, I'm also in support of this. Can you give us a brief rundown of how this would work @Anonymitaet? |
Beta Was this translation helpful? Give feedback.
-
Thank you @Geal and @stearnsc. The first step is to write a PIP for this. You can check PIP 53: Contribute DotPulsar to Apache Pulsar |
Beta Was this translation helpful? Give feedback.
-
It's a super busy time for us at work right now, but I should get to this in the next few days, most likely. |
Beta Was this translation helpful? Give feedback.
-
@stearnsc OK, looking forward to your feedback on PIP. |
Beta Was this translation helpful? Give feedback.
-
Hi @stearnsc, Since you are working on PIP, maybe we can start working on the user guide as well? I'd like to contribute together and I'm wondering which way do you prefer: #1: contribute the Rust user guide to the Pulsar website yourself (you can take Pulsar client docs and Pulsar client feature matrix as references). or #2: I draft one based on Rust readme, request your review and technical inputs, and then submit doc PR to Pulsar repo. Let me know your thoughts. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Hi @stearnsc, any feedback on the suggestion? |
Beta Was this translation helpful? Give feedback.
-
Thanks for your existing docs, which is beneficial for Rust users to get a quick start. I was intended to draft one but it seems that the existing docs are not enough to create a complete and accurate guide, it would be much helpful if you could help on this, could you please provide more information? Many thanks! Here are some tips for you to provide more tech inputs, you can take them as references:
As we know, quality docs help users use the project and be able to improve on the project in return. Hope we can work together to build a robust, mature, and successful project. Looking forward to hearing from you soon. |
Beta Was this translation helpful? Give feedback.
-
Hi @Geal @stearnsc, any feedback for the client docs and the Pulsar Client Feature Matrix? Thank you |
Beta Was this translation helpful? Give feedback.
-
@Anonymitaet I'm finishing up on the 2.0 release then getting on that. It will be a good occasion to review the docs |
Beta Was this translation helpful? Give feedback.
-
@Geal Thanks. I'd love to help if needed. Looking forward to the 2.0 release. |
Beta Was this translation helpful? Give feedback.
-
@Geal I see Rust 2.0 is released, congratulations! Can we start working on the docs? |
Beta Was this translation helpful? Give feedback.
-
@Anonymitaet yes, I'm getting started on it :) |
Beta Was this translation helpful? Give feedback.
-
@Anonymitaet I'm filling the features matrix, and I have a few questions:
|
Beta Was this translation helpful? Give feedback.
-
@Geal thanks for your work!
You can tick off an item ✅ if the code or doc is done. Adding links to the relevant parts of the code and docs is absolutely good. @codelipenghui could you please help answer the rest technical questions? Many thanks! |
Beta Was this translation helpful? Give feedback.
-
@Geal FYI,
Yes.
See ConsumerInterceptor and ProducerInterceptor for reference.
See BatcherBuilder for reference. BTW, I found many public methods/fields have no docs. For example, It's better to add some docs. |
Beta Was this translation helpful? Give feedback.
-
I have marked some features as high priority here According to my understanding of some of the features which of the high frequency of use
Pulsar supports the built-in schema registry which is very convenient for users, no need to deploy a separate schema registry service. The Java Client, CPP Client, Go Client already support the schema feature. Users also expect to be able to use it in rust client. |
Beta Was this translation helpful? Give feedback.
-
alright, I'm opening some issues to track the new features to add. For compacted topics, does it just need to set Do you have any advice on how to implement the schema and interacting with the schema registry? This will require communication with the HTTP API right? I'd expect this is the most complex feature to add right now. Are all of those blockers for the integration into Apache Pulsar, or can the work on them be done in parallel? |
Beta Was this translation helpful? Give feedback.
-
I think no, just need to set readCompacted to true.
No, schema is defined in the protobuf, when creating a producer or consumer, the client can pass the schema data to server.
No, it's not a blocker, we can work on them in parallel. We need to provide documentation for the rust client so that users can find the tutorial on the Pulsar website. I think all of them are not blockers. |
Beta Was this translation helpful? Give feedback.
-
alright then. I'm adding more content to the docs, but first I'll go through the source and add more examples, as they'll appear directly on https://docs.rs/pulsar/. Usually Rust developers will go straight to docs.rs, so we'll have the source of truth there, and copy examples over to the pulsar website |
Beta Was this translation helpful? Give feedback.
-
Ok, @Anonymitaet I think we can add a link in the pulsar website point to https://docs.rs/pulsar? so that we don't need to maintain multiple copies |
Beta Was this translation helpful? Give feedback.
-
@codelipenghui yes, sure. @Geal may I know the progress of the docs? |
Beta Was this translation helpful? Give feedback.
-
there's more doc comments and examples now, but I'm holding off on a release until I've fixed a bug where some consumers do not get messages |
Beta Was this translation helpful? Give feedback.
-
@Geal yes I find more contents filled here. You can ping me once you need a doc review. Moreover, Pulsar community is updating the Pulsar Feature Matrix for Clients, you can take it as a reference. |
Beta Was this translation helpful? Give feedback.
-
@Anonymitaet I just published version 2.0.1 with a fix that we were testing, and more documentation. It should be available soon on https://docs.rs/pulsar/2.0.1/pulsar/ A colleague at Clever Cloud is advancing on a |
Beta Was this translation helpful? Give feedback.
-
Hi @Geal thanks for the updates. I've checked Pulsar Client Feature Matrix - Rust, it seems that the docs on https://docs.rs/pulsar/2.0.1/pulsar/ are not synced with the codes? To allow users to be kept with the latest info clearly, it would be much helpful to create complete docs based on the doc architecture in Pulsar Client Feature Matrix - Rust. If you need doc review, you can write docs on google doc and I would like to help review. And then you can publish the docs to https://docs.rs/pulsar/2.0.1/pulsar/ after the contents are finalized. |
Beta Was this translation helpful? Give feedback.
-
Move to the Discussions forum for any further open-ended discussion. |
Beta Was this translation helpful? Give feedback.
-
Hi @wyyerd and Stearns,
Hope you’re having a great holiday.
My name is Yu Liu. I'm a Pulsar committer and technical writer.
When browsing the Pulsar website, I found that you have developed a wonderful Rust client for Pulsar and draw much attention. Thanks for this great work!
Since good projects are collaborations between motivated individuals, I'm wondering if you'd like to donate the Rust client to Apache Pulsar, which is beneficial for attracting more programmers to share quality code, appealing to more technical writers to develop docs (I found you've written some guides and I'd like to contribute together), and allowing more users to use it conveniently.
Any thoughts on this? Looking forward to hearing from you.
Merry Christmas with lots of love.
Yu
Beta Was this translation helpful? Give feedback.
All reactions