I use CachedMessageSubscriptionRequest.cached_first to call cache data
but I got Fail on_completion *
CacheRequestOutcomeListenerHandler:CacheRequestOutcome.FAILED, cache_request_id:3 exception:Unable to send cache request.
Caller Description: On cache request send. Error Info Sub code: [1]. Error: [Only SOLCLIENT_CACHEREQUEST_FLAGS_LIVEDATA_FLOWTHRU allowed with wildCard topic xxxx/xxxxxxx* on session (c1,s1)_api]. Sub code: [SOLCLIENT_SUBCODE_PARAM_OUT_OF_RANGE]. Return code: [Fail]
What is this mean?
The PubSub+ API for Python only allows ‘as_available’ for wild-card topic subscriptions.
If you wish to received cached data before live data, (cached_first), you must use an exact match topic subscription without wildcards (‘*’ or ending in ‘>’).