How to get queue name with the help of topic subscription

Sorry, I didn’t quite get the use case. Can you elaborate on what and why you are trying to track?
Maybe there’s multiple ways to achieve what you are looking for.