Skip to main content
Solved

Is there a simple way to determine which topics are notified by workspaces in FME Server?

  • February 10, 2023
  • 5 replies
  • 18 views

jdh
Contributor
Forum|alt.badge.img+28
  • Contributor

I want to do a cleanup of FME Server and remove topics and subscriptions that are not being used by any workspaces on the server.

 

Is there a way to see what topics are being used other than going through each workspace individually?

Best answer by ebygomm

The retrieve item API call will return information about a workspace that notifies a topic where it has been set here

imageIt's under properties

 {
         "name" : "SUCCESS_TOPICS",
         "attributes" : {},
         "category" : "fmejobsubmitter_FMEUSERPROPDATA",
         "value" : "SAMPLE_TOPIC"
      }

 

View original
Did this help you find an answer to your question?

5 replies

david_r
Celebrity
  • February 10, 2023

Perhaps an idea could be to create an automation that listens to all topics and logs them as they get triggered. You could then analyze the log after some time.

Another idea would be to use the FMW reader and parse all the workspaces on the server to look for topics.


jdh
Contributor
Forum|alt.badge.img+28
  • Author
  • Contributor
  • February 10, 2023
david_r wrote:

Perhaps an idea could be to create an automation that listens to all topics and logs them as they get triggered. You could then analyze the log after some time.

Another idea would be to use the FMW reader and parse all the workspaces on the server to look for topics.

The automation wouldn't work in this case, as we have several workspaces that only run on a quarterly or semi-annually basis.

I'll have to look into the workspace reader.


david_r
Celebrity
  • February 10, 2023
jdh wrote:

The automation wouldn't work in this case, as we have several workspaces that only run on a quarterly or semi-annually basis.

I'll have to look into the workspace reader.

Since you know which topic names to look for, an even simpler idea could be to just look for those strings inside all the fmw files in the repository directory.

That said, perhaps also check if there are any server schedules triggering topics, etc.


ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • Best Answer
  • February 10, 2023

The retrieve item API call will return information about a workspace that notifies a topic where it has been set here

imageIt's under properties

 {
         "name" : "SUCCESS_TOPICS",
         "attributes" : {},
         "category" : "fmejobsubmitter_FMEUSERPROPDATA",
         "value" : "SAMPLE_TOPIC"
      }

 


todd_davis
Influencer
Forum|alt.badge.img+22
  • Influencer
  • February 12, 2023

Not sure if you had potentially used them, but if you have used any FMEServerNotifier transformers then you will want to check them as well. Outside of the workspace, there is course schedules and automations that may be calling he topics.

 

We have and continue to build a (gigantic) FME Server audit process which does all these things plus a lot, lot more, which is absolutely brilliant for understanding all the interactions inside FME Server for us and our clients. I just don't know how we can make it more widely available, while still getting a return on the large amount of hours that have been implemented.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings