-
How to set up consumer in Azure Container Instances using python qpid proton
Hi all, I have been trying to deploy a consumer as an Azure Container Instance implemented in python, which uses qpid proton. When running the Docker image locally it works without any issue, however when deploying the image as an ACI, I obtain the following error: ```2022-06-03T16:05:19UTC ERROR: proton - Couldn't…
-
Backpressure / message delivery and the Python API
Hi, We have a non exclusive durable queue with several consumers (compute worker) who connect using the Python API. Each consumer runs the MessageHandler in a separate thread, essentially just filling up a buffer with messages, the messages are then consumed by the main thread in the compute worker and results sent out.…
-
Receive the latest message only for both direct message and persistent message - python
Hi all, recently I am engaging a project that require data streaming. Therefore, even though there is a latency in processing the message, I would like the consumer always take the latest message. I am a python developer and would be grateful if someone can tell be how to achieve the above requirement for both direct…
-
Utilizing Designer with Pipeline
Good morning Solace world... Am continuing my progress with Solace and going well now up and running. Am onto playing with the Designer and am unable to get a message to port through an app. I have a simple app in which it has: 1 event for the topic testing/newmessage (incoming) 1 event for the topic testing/outmessage…
-
Python API import issues
Hi Solace Community, I have a strange issue with the Python API - or I might just be dumb right now ;) I've started with a pretty simple script that connects to a broker and just reports the client id and disconnects. (removed sensitive values...) from solace.messaging.messaging_service import MessagingService,…
-
Python TLS/ClientCertificateAuthentication error
Hi All, I am trying to use Python to connect to solace and failing to connect with “unable to get local issuer certificate” error. I have setup TLS with_certificate_validation and authentication strategy with ClientCertificateAuthentication.of. I have tried various combinations to use with or without TLS, while creating…
-
How to set ssl validate certificate to false in python
I am Implementing Solace pubsub solution in python and trying to disable ssl_validate_vertificate . It is working fine in Java but not how to set same in python I tried this way: "solace.messaging.ssl_validate_certificate":False"solace.messaging.ssl_validate_certificate_date":False But it's not working. getting error…
-
How to disable TTL (Time to live) using solace-pubsubplus python library
I am following the sample programs present on this official repo of Solace. https://github.com/SolaceSamples/solace-samples-python/tree/master/samples The publication and subscription of messages are working, its just that I want the messages to be published with TTL set to False. I am not able to find any documentation or…
-
Python v1.0.0 PubSub+ API - Connecting to Solace Cloud
Continued from: https://solace.community/discussion/comment/2246#Comment_2246 @Tamimi many thanks for your response. I did what you suggested, which is update the broker_props and I had it working locally. The cloud credentials look something like my response below, does that look correct: Broker Config broker_props = {…
-
🎉 PubSub+ Messaging API for Python v1.0.0 is officially GA!
I'd like to announce that version 1.0.0 for the PubSub+ Messaging API for Python is officially released! Resources * Docs found on https://docs.solace.com/Solace-PubSub-Messaging-APIs/Python-API/python-home.htm * Samples found on https://github.com/SolaceSamples/solace-samples-python What's Next? Now that we have…
-
Maximum number of Semp V2 calls at a time?
We have 3000+ queues in a appliance. We would like get all the queues information in JSON. We have a Python application Which makes SEMP V2 GET call to get all these queue information. Is it okay to issue concurrent SEMP v2 GET calls to the appliance ? I believe appliance will process the API call one after the other. We…
-
Updates on Python Samples
I have updated the Python API Samples with the new guaranteed messages samples. https://github.com/SolaceSamples/solace-samples-python/tree/master/samples Feedback welcomed!
-
Solace Python API v0.2.0 publicly released on PyPi 🎉
Now Available! The second and final round of our Python API early access is now available on Pypi for everyone in the Solace Community to use. Check it out here: https://pypi.org/project/solace-pubsubplus/ or use pip install solace-pubsubplus This release includes support for 1. Direct Messaging (from v0.1.0) 2. Guaranteed…
-
Solace Python API v0.2.1 released! 🎉
With continuous updates and development on the Solace Python API, we have released v0.2.1 of the API. This minor version update includes: * Documentation updates * Better debugging support and handling of message printing * Improved contextual logging * Finalized states upon termination and idempotent lifecycle operations…
-
Real Time Dashboarding With Python
If you're looking for a way to dashboard real time data using pure Python, I have a blog post at https://solace.com/blog/visualizing-live-streamed-data-python-dashboard/ about how to use Solace and the Bokeh Python library to quickly visualize some real time taxi geospatial data. The source code is also available at…
-
Python Paho MQTT IoT Examples
Hi, I just wanted to share a github repo that was created in support of a hackathon earlier this year. It shows how to quickly get started using Python and MQTT on an IoT device such as Raspberry PI. If you don't have a device it also includes a script that simulates a sensor here. 👉 Bonus points for anyone that re-writes…
-
Solace Native Python API Early Access: v0.2.0
Update Here's another Python update for the day 😎 If you recall, we announced the release of a brand new Solace Native Python API a while back that had support for Direct Messaging. Whats next? Guaranteed Messaging coming up for the second early access release ✌️ "How can I be part?" you may ask We want your input. version…
-
High Availability client configuration properties to load balance from the client end
Hi All, I have a question. What are configuration properties are required to achieve High Availablity like load balancing from the client SDK's sides? For examples: .NET ,Node js, Javascript, python, c etc... the configuration, I mean reconnection strategies and auto-switch between servers. can any one describe proper…
-
Development Best Practices
What are the best practices in solace development except naming queues/topics? And what are the restrictions, recommendations to be followed? How failover takes place. could you please some information related to this?
-
How to connect to Solace broker using truststore credentials using Python
No formatter is installed for the format not-found
-
Send json object to Solace queue using Python
No formatter is installed for the format not-found
-
How to see published messages
No formatter is installed for the format not-found