🎄 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.

Does Python have this Cache Session??

Chris
Chris Member Posts: 7

For C#,I can use SendCacheRequest to get a synchronous cache request.

But in Python I can't find any package allow request cache session?

can any one help me?

Thank you.

Answers

  • Aaron
    Aaron Member, Administrator, Moderator, Employee Posts: 644 admin

    Hi @Chris, thanks for the question and welcome to the Solace Community!

    According to this feature-per-API breakdown, the Python API doesn't support PubSub+ Cache requests yet. https://docs.solace.com/API/Messaging-APIs/Solace-APIs-Overview.htm

    What is your use case? If you're a customer, you could submit an official feature request to our Support team.

    Also, just for clarification: I think the cache request in C# (and other classic APIs) is asynchronous, right? You make the cache request, and then asynchronously the message (or messageS if wildcarded) will start to show up on the callback.

  • Chris
    Chris Member Posts: 7

    Thank you so much.

    I alos found Cache Sessions (solace.com)

    I got the answer already.

    Yes, I do use a asynchronous cache request in C#. Then the callback function will be called.