Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility issue between Pulsar Client Python 3.6.0 and Pulsar 4.0.2 and Databricks #246

Open
jamesvsshark opened this issue Feb 14, 2025 · 4 comments

Comments

@jamesvsshark
Copy link

jamesvsshark commented Feb 14, 2025

There is a compatibility issue between the Pulsar Python client library version 3.6.0 and Pulsar server version 4.0.2 when used in Databricks.

Observed Issue

Pulsar Client Library Version: 3.5.0
Environment: Databricks notebook
Problem: Unable to connect and create a client.

Error Details
When using Pulsar client library version 3.6.0 in Databricks, the following error is encountered:

0000-00-00 00:00:00.000 INFO [0000-00-00 00:00:00.000 INFO [ERROR:__main__:Error connecting to Pulsar: Pulsar error: ConnectError 0000-00-00 00:00:00.000 INFO [0000-00-00 00:00:00.000 INFO [0000-00-00 00:00:00.000 INFO [0000-00-00 00:00:00.000 INFO [0000-00-00 00:00:00.000 INFO [0000-00-00 00:00:00.000 INFO [0000-00-00 00:00:00.000 INFO [0000-00-00 00:00:00.000 ERROR [0000-00-00 00:00:00.000 INFO [0000-00-00 00:00:00.000 INFO [0000-00-00 00:00:00.000 INFO [0000-00-00 00:00:00.000 INFO [0000-00-00 00:00:00.000 INFO [

Solution

Downgrading to Pulsar client library version 3.5.0 resolves the issue.

Current Pulsar Server Version: 4.0.2

@merlimat
Copy link
Contributor

I just validated 3.6.0 Python client with 4.0.2 standalone and it works correctly.

The error you're seeing is a ConnectError, so it's possible that the serviceUrl you're trying to use is not the correct one.

@jamesvsshark
Copy link
Author

I also have ran the 3.6.0
Python client against standalone without issue. The issue being reported is only occuring within the Azure Databricks environment.

@BewareMyPower
Copy link
Contributor

There is a known issue for the compatibility with some Linux environments in 3.6.0. Could you try the 3.6.1 that is in vote currently? https://lists.apache.org/thread/s3qq7krzsl5lvsj7d0hg7c3xg251xhrd

@BewareMyPower
Copy link
Contributor

Could you try 3.6.1?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants