# US 2021/0176324 A1 · Topic-based data routing in a publish-subscribe messaging environment

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0176324 A1
- Document ID: US20210176324A1
- Status: Published application
- Kind: A1
- Application number: 16/787,063
- Filed: 2020-02-11
- Published: 2021-06-10
- Earliest claimed: 2019-12-10
- Assignees: VMware, Inc.
- Applicants: VMWare, Inc.
- Inventors: DIVITH SHETTY; Aditya Sushilendra Kolhar; V Vimal Das Kammath; Rahav Vembuli
- Web page: https://patentgrep.com/patent/US20210176324A1

## CPC

- H04L 51/214: using selective forwarding
- H04L 67/55: Push-based network services
- H04L 12/1859: {adapted to provide push services, e.g. data channels}
- H04L 47/622: {Queue service order}
- H04L 51/216: Handling conversation history, e.g. grouping of messages in sessions or threads
- H04L 67/562: Brokering proxy services
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Techniques for providing topic-based data routing in a publish-subscribe messaging environment are disclosed. In one example, a system supported by hardware in a publish-subscribe messaging environment may include a message broker to receive topic metadata at a first instance according to a first interval into a predefined fixed topic. Further, the system may include a topic list subscriber that subscribes to the predefined fixed topic and obtains a list of topics from the message broker. Furthermore, the system may include a subscription manager to assign topics in the list of topics to a set of subscribers according to a criteria. In one example, the message broker may route data corresponding to the topics to the set of subscribers in accordance with the topics assigned to the set of subscribers.

## Claims

### Claim 1

A system supported by hardware in a publish-subscribe messaging environment, comprising:
a message broker to receive topic metadata at a first instance according to a first interval into a predefined fixed topic, wherein the topic metadata comprise information about a list of topics published by an agent running in an endpoint and each topic in the list of topics corresponds to an application running in the endpoint;
a topic list subscriber that subscribes to the predefined fixed topic and obtains the list of topics from the message broker; and
a subscription manager to assign topics in the list of topics to a set of subscribers according to a criteria, wherein the message broker routes data corresponding to the topics to the set of subscribers in accordance with the topics assigned to the set of subscribers.

### Claim 2 (depends on 1)

The system of claim 1, wherein the message broker is to:
receive the data associated with the applications from the agent according to a second interval, wherein the second interval is less than the first interval; and
route the data to the set of subscribers in accordance with the topics assigned to the set of subscribers.

### Claim 3 (depends on 1)

The system of claim 1, wherein the subscription manager is to assign the topics to the set of subscribers using one of a round robin distributing algorithm, a hashing algorithm, and a priority scheduling algorithm.

### Claim 4 (depends on 1)

The system of claim 1, wherein the topic list subscriber is to transmit the list of topics to the subscription manager for assigning the topics to the set of subscribers upon receiving the topic metadata at each instance according to the first interval.

### Claim 5 (depends on 1)

The system of claim 1, further comprising:
a cache to maintain the list of topics corresponding to the endpoint.

### Claim 6 (depends on 5)

The system of claim 5, wherein the message broker is to receive the topic metadata at a second instance according to the first interval from the agent.

### Claim 7 (depends on 6)

The system of claim 6, wherein the topic list subscriber is to obtain an updated list of topics from the topic metadata received at the second instance and update the cache to store the updated list of topics.

### Claim 8 (depends on 7)

The system of claim 7, wherein the subscription manager is to:
modify a number of subscribers in the set of subscribers based on the updated list of topics; and
dynamically assign topics in the updated list of topics to the set of subscribers.

### Claim 9 (depends on 1)

The system of claim 1, wherein the endpoint comprises one of a virtual machine, a container, and a physical machine.

### Claim 10

A computer-implemented method to route data in a publish-subscribe messaging environment, comprising:
receiving, by a message broker, topic metadata at a first instance according to a first interval into a predefined fixed topic, wherein the topic metadata comprise information about a list of topics published by an agent running in an endpoint and each topic in the list of topics corresponds to an application running in the endpoint;
obtaining, by a topic list subscriber, the list of topics from the message broker by subscribing to the predefined fixed topic;
assigning, by a subscription manager, topics in the list of topics to a set of subscribers according to a criteria; and
routing, by the message broker, data corresponding to the topics to the set of subscribers in accordance with the topics assigned to the set of subscribers.

### Claim 11 (depends on 10)

The computer-implemented method of claim 10, wherein routing data corresponding to the topics comprises:
receiving the data associated with the applications from the agent according to a second interval, wherein the data is published by the agent and wherein the second interval is less than the first interval; and
routing the data to the set of subscribers in accordance with the topics assigned to the set of subscribers.

### Claim 12 (depends on 10)

The computer-implemented method of claim 10, wherein the topics are assigned to the set of subscribers using one of a round robin distributing algorithm, a hashing algorithm, and a priority scheduling algorithm.

### Claim 13 (depends on 10)

The computer-implemented method of claim 10, further comprising:
maintaining a cache to store the list of topics corresponding to the endpoint.

### Claim 14 (depends on 10)

The computer-implemented method of claim 10, further comprising:
receiving, by the message broker, the topic metadata at a second instance according to the first interval from the agent;
obtaining, by the topic list subscriber, an updated list of topics from the topic metadata received at the second instance; and
updating the cache to store the updated list of topics.

### Claim 15 (depends on 14)

The computer-implemented method of claim 14, further comprising:
modifying, by the subscription manager, a number of subscribers in the set of subscribers based on the updated list of topics; and
dynamically assigning topics in the updated list of topics to the set of subscribers.

### Claim 16

A non-transitory computer readable storage medium having instructions that when executed by a processor, cause the processor to:
receive, by a message broker, a plurality of topic metadata at a first instance according to a first interval from a plurality of agents running in a plurality of endpoints, wherein each topic metadata comprise information about a list of topics published by an agent running in an endpoint and each topic in the list of topics corresponds to an application running in the endpoint;
store the plurality of topic metadata to a predefined fixed topic in the message broker;
obtain a plurality of list of topics as published by the plurality of agents via subscribing to the predefined fixed topic;
assign topics in the plurality of list of topics to a set of subscribers according to a criteria; and
route data corresponding to the topics to the set of subscribers based on the assigned topics.

### Claim 17 (depends on 16)

The non-transitory computer readable storage medium of claim 16, wherein the instructions to route the messages comprises instructions that when executed by the processor, cause the processor to:
receive the data associated with a plurality of applications from the plurality of agents according to a second interval, wherein the second interval is less than the first interval; and
route the data to the set of subscribers in accordance with the topics assigned to the set of subscribers.

### Claim 18 (depends on 16)

The non-transitory computer readable storage medium of claim 16, wherein the topics are assigned to the set of subscribers using one of a round robin distributing algorithm, a hashing algorithm, and a priority scheduling algorithm.

### Claim 19 (depends on 16)

The non-transitory computer readable storage medium of claim 16, further comprising instructions that when executed by the processor, cause the processor to maintain a cache to store the plurality of list of topics corresponding to the plurality of endpoint.

### Claim 20 (depends on 19)

The non-transitory computer readable storage medium of claim 19, further comprising instructions that when executed by the processor, cause the processor to:
receive the plurality of topic metadata at a second instance according to the first interval from the plurality of agents;
obtain a plurality of updated list of topics from the plurality of topic metadata received at the second instance;
update the cache to store the plurality of updated list of topics;
modify a number of subscribers in the set of subscribers based on the plurality of updated list of topics; and
dynamically assign topics in the plurality of updated list of topics to the set of subscribers.
