A publisher can be producing events on a topic that have no interested consumers.
Is there a way to list those topics for the purposes of clean-up or decommission of unused flows?
This condition would also be causing the client counter Ingress Discard - No Subscription Match to increment.
The broker maintains an in-memory rolling log of these topics, at a maximum of 1000 entries.
This log can be viewed within the CLI with the following command:
show log no-subscription-match > show log no-subscription-match message-vpn myVPN >
This same command can also be issued over SEMPv1 with the following request XML:
myVPN
A curl example would be like so:
curl -d @get-no-subscription-match.xml -u user:pass https://broker-hostname:943/SEMP
where the file get-no-subscription-match.xml > contains the above request XML.
The response contains an entry for the published topic each time it was published to, along with details of the client-name and client-username.
solclientjs/chrome-98.0.4758-Windows-0.0.0/3560415772/0001
solace-cloud-client
myVPN
testing/no-sub/match
solclientjs/chrome-98.0.4758-Windows-0.0.0/3560415772/0001
solace-cloud-client
my VPN >
testing/no-sub/match