Batch processing of messages
Abstract
A method and associated system. For each message of a message batch, the message is assigned by a consumer to a partition of a log. Each partition of the log is associated with a respective processing engine. The message batch includes messages that includes the message. The consumer stores an offset value for each partition. Responsive to completion, by a distributor, of sending a last message in the message batch to the consumer, the distributor ascertains a target offset value for each partition based on a current offset value. In response to a processing engine completing processing of a message assigned to the partition associated with the processing engine, the consumer updates the stored offset value associated with the partition. The distributor determines when all messages of the batch have been processed based on the target offset values and the stored offset values.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method, said method comprising: producing, by a distributor, a message batch of messages to be sent, by the distributor, to a consumer for being processed by the consumer, wherein each message in the message batch is assigned to a partition of a log, wherein each partition is associated with a respective processing engine configured to process, for the consumer, the messages assigned to each partition, wherein a currently stored offset value for each partition is a monotonically increasing offset function f(n) of a number (n) of currently processed messages in each partition, and wherein the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (10)
Non-Patent Literature (5)
- Bienvenido, David, Apache Kafka-A Different Kind of Messaging System, Dec. 16, 2013, 9 pages, URL: https://www.infoq.com/news/2013/12/apache-afka-messaging-system.
- Bienvenido, David, Apache Kafka—A Different Kind of Messaging System, Dec. 16, 2013, 9 pages, URL: https://www.infoq.com/news/2013/12/apache-afka-messaging-system.
- Broadhurst et al., Batch Processing, Cloud-Integration/architecture, 5 pages, Retrieved on Dec. 18, 2016, URL:https://github.ibm.com/Cloud-Integration/architecture/blob/f0b7f733f8c . . . .
- Broadhurst et al., Extending aggregation and collection of messages in WebSphere Message Brooker, Apr. 17, 2013, 14 pages, URL:http://www.ibm.com/developerworks/websphere/library/techarticles/1304_marie/1304_marie.html.
- Josh Long, Using Apache Kafka for Integration and Data Processing Pipelines with Spring, Apr. 15, 2015, 10 pages, URL: https://spring.io/blog/2015/04/15/using-apache-kafka-for-integration-and-data-processing-pipelines-with-spring.