Publishers
Consider whether to develop publishers to distribute data in your solution.
Publishers are written in Java™ and deployed on the Diffusion™ server.
You can deploy one or more publishers on a Diffusion server. A publisher can provide the behavior of one or more topics but a topic can belong to only one publisher. The publisher infrastructure is provided by Diffusion and the behavior is provided by the user by writing a publisher.
Why use publishers?
Publishers enable you to manage your topics and updates, and customize their behavior. Unlike clients, publishers are located on the Diffusion server so can communicate more swiftly with the server and do not become disconnected from the server.
- Create topics
- Remove publisher-created topics
- Publish updates to topics
- Define topic load data
- Provide topic state to fetch requests
- Send and receive messages to message paths
- Handle requests for topics that do not exist
- Validate client connections
- Receive notifications of client events
- Subscribe clients to topics
Considerations when using a publisher
Publishers can only be written in Java.
Publishers cannot remove topics created by a client.
Clients cannot remove topics created by a publisher.
This page last modified: 2016/10/03