zbentley opened a new issue, #15610:
URL: https://github.com/apache/pulsar/issues/15610

   **Describe the bug**
   The Python `pulsar-client` package at version 2.8.1 on Macos cannot connect 
to Pulsar brokers at version 2.10.0.
   
   **To Reproduce**
   1. Ensure a 2.10 broker standalone instance is running (I used `brew install 
apache-pulsar` and confirmed the version with `brew info apache-pulsar`).
   1. With a working Python environment, do `pip install 'pulsar-client>2.8'`
   1. Do `python -c "import pulsar; 
pulsar.Client('pulsar://localhost:6650').get_topic_partitions('foo')"`
   1. Observe that a ConnectError is raised.
   1. Do `pip install pulsar-client>=2.10`
   1. Do `python -c "import pulsar; 
pulsar.Client('pulsar://localhost:6650').get_topic_partitions('foo')"`
   1. Observe that a ConnectError is not raised.
   
   
   **Expected behavior**
   Old clients should be forwards-compatible with new broker versions unless 
documented not to be. I couldn't find any docs indicating that this will not 
work.
   
   **Desktop (please complete the following information):**
    - OS: MacOS 12, Python 3.7.13 via pyenv.
   


-- 
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]

Reply via email to