US 11,693,647 B2
Deployment of new versions of event consumers in an event-driven system
Sunil Kaitha, Plano, TX (US)
Assigned to Capital One Services, LLC, McLean, VA (US)
Filed by Capital One Services, LLC, McLean, VA (US)
Filed on Oct. 29, 2021, as Appl. No. 17/452,810.
Prior Publication US 2023/0140409 A1, May 4, 2023
Int. Cl. G06F 9/445 (2018.01); G06F 8/65 (2018.01); G06F 9/54 (2006.01)
CPC G06F 8/65 (2013.01) [G06F 9/542 (2013.01)] 20 Claims
OG exemplary drawing
 
1. An event-driven system for deployment of a new version of an event consumer, comprising:
a topic event store configured to store multiple topic event notifications;
a state event store configured to store one or more state event notifications;
a group of old event consumers configured to:
process one or more topic event notifications of the multiple topic event notifications stored in the topic event store, and
activate or deactivate processing of topic event notifications of the multiple topic event notifications based on a state event notification of the one or more state event notifications; and
one or more processors configured to publish a deployment state event notification to the state event store based on deployment of a new event consumer that is a newer version than the group of old event consumers, wherein the deployment state event notification causes an old event consumer, of the group of old event consumers, to:
deactivate the old event consumer,
refrain from processing topic event notifications of the multiple topic event notification based on deactivating the old event consumer, and
publish a deactivation state event notification to the state event store based on deactivating the old event consumer, wherein the deactivation state event notification causes the new event consumer to:
activate the new event consumer, and
begin processing topic event notifications of the multiple topic event notifications based on activating the new event consumer.