🎄 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.
How to get and test information on discarded messages
Problem
You see that you are having a lot of ingress discards due to No Subscription Match and are looking for more information about these messages. The information that might be pertinent is: Topic, Client Username, and Message VPN name.
Solution
Use the following command to get the information about the messages:
solace> show log no-subscription-match [client-username <username>][client-name <name>] [message-vpn <vpn-name>] [wide]
You will then be able to see the Topic, Client Username, and Message VPN name on the last 1,000 discarded messages.
Read more on no-subscription-match.
You can use SDKPerf to test if the solution works. Here is an example for publishing a single message with no topic match:
[wskinner@dev3-225 ~]$ sdkperf_c_d36 -cip=192.168.164.199 -cu=default@default -ptl=topic -mn=1 -mt=persistent -msa=10
Result
Here you can see the CLI output:
vmr-132-44> show log no-subscription-match
Most recent no-subscription-match events:
Client | Username | Message VPN | Topic |
---|---|---|---|
dev3-225/9209/#00000001 | default | default | topic`` |