🎄 Happy Holidays! 🥳

Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.

Happy Holidays!

Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.

🎉 PubSub+ Messaging API for Python v1.0.0 is officially GA!

Tamimi
Tamimi Member, Administrator, Employee Posts: 541 admin
edited February 2021 in Early Access API #1

I'd like to announce that version 1.0.0 for the PubSub+ Messaging API for Python is officially released!

Resources

What's Next?

Now that we have officially released v1.0 for our Python API, we will be working on getting tutorials up and running. We will also be collecting developer feedback on the API as we continue to work towards our version 1.1 of the API adding more features.

Stay tuned here on this thread to know what are the new features, bugs fixed, and performance improvements that were introduced from v0.2.1 to v1.0.0.

Let me know here on this thread as well if you are using the Python API and what your usecases are!

Tagged:

Comments

  • vshivk99
    vshivk99 Member Posts: 13 ✭

    Right now, Request Reply pattern is not supported by Python API. Am I right in understanding? Any tentative timelines?

  • Tamimi
    Tamimi Member, Administrator, Employee Posts: 541 admin

    Hey @vshivk99 ! You're correct, request/reply is not supported in v1.0 yet. It is on our roadmap and it's coming up soon, stay tuned here for updates! Are you heavily depending on request/reply in your architecture right now?

  • solcache
    solcache Member Posts: 7 ✭

    Hey @Tamimi, I am really excited about the Python API. Any instructions for connecting this to Solace cloud? Its easy to run this locally, I have tried and tested it. I have not found it straightforward to connect the client to solace cloud. I must be missing something.

  • Tamimi
    Tamimi Member, Administrator, Employee Posts: 541 admin
    edited March 2021 #5

    Hey Solomon - first of welcome to the solace community! Great to hear you will be using the Python API in your solace interaction. Connecting your Python API to a Solace broker regardless the flavour (SW, Cloud, HW) is the same approach and it only involves specifying the right host url to connect to. Let's take for example the direct publisher sample where the broker properties is specified as follows

    # Broker Config. Note: Could pass other properties Look into
    broker_props = {
        "solace.messaging.transport.host": os.environ.get('SOLACE_HOST') or "localhost",
        "solace.messaging.service.vpn-name": os.environ.get('SOLACE_VPN') or "default",
        "solace.messaging.authentication.scheme.basic.username": os.environ.get('SOLACE_USERNAME') or "default",
        "solace.messaging.authentication.scheme.basic.password": os.environ.get('SOLACE_PASSWORD') or "default"
        }
    

    Note you can pass the host url directly from terminal as follows
    SOLACE_HOST=<host_name> SOLACE_VPN=<vpn_name> SOLACE_USERNAME=<username> SOLACE_PASSWORD=<password> python <name_of_file>.py.

    How are attempting to connect to your broker? Where are you getting your host URL? Code snippet and the steps you are following for your connection would help.

    Feel free to start a new post here in the community and tag it with Python so we can make sure every thread stays with the same subject :)
    @solcache

This Week's Leaders