Samreay commented on issue #85: URL: https://github.com/apache/pulsar-client-python/issues/85#issuecomment-1531069608
To echo the above comment, I just raised https://github.com/apache/pulsar-client-python/issues/115 and was going to see if I could open a PR for it myself. Without a native python client, the barrier to entry on contributing is quite high. On top of this, there's also the value lost for developers when using the library itself. Things like type hints and the internal options are obfuscated. For a concrete example of this, all the imports from `_pulsar` like `ConsumerType` have no autocomplete and no python documentation from the code itself. Even the API doc (https://pulsar.apache.org/api/python/2.4.0/) in the `subscribe` section simply has a default value of `_pulsar.ConsumerType.Exclusive` but no details on what other ConsumerTypes there are. In fact, to figure out what was available, I ended up searching the C++ client repo for "ConsumerType" and ending up at https://github.com/apache/pulsar-client-cpp/blob/4a864f20530e230ecee7e4ab09430bd65fb9789c/include/pulsar/ConsumerType.h#L28 It has the information I wanted, but in terms of a smooth developer experience, having to manually search C++ code to figure out what I can pass in to my python signature is less than ideal. Happy to be part of the solution here though, and if we migrate to Pulsar I'm very happy to contribute as much as possible. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
