Topic based WebSocket Server implemented in Java, Node.js or AWS Lambda.
Use Case for Topic Based WebSocket: Push content to Web Application UI based on events happening on the server, data coming from another instance of the UI or an IoT device etc.
Take a look at Java/WSServer
Take a look at Node.js/wsserver
Take a look at Serverless/AWS-Lambda
Take a look at JS-Client
Need to take care of using secure protocol and scaling for actual use in an application