Nova Patents
EP3522017B1

Streaming platform reader

Abstract

This record has no abstract on file.

EP3522017B1, drawing sheet 1
Sheet 1 of 10

Term

12.2 yearsleft in the term

Expires 6 December 2038.

  1. Priority
  2. Filed
  3. Granted
  4. Today
  5. Expires

13 claims: 3 independent, 10 dependent

  1. 1
    A streaming platform reader (524) comprising:a memory (204);a processor (202);a plurality of reader threads executed on the processor (202), wherein each of the reader threads is configured to retrieve messages from a partition of a plurality of partitions (516, 518, 520) of a streaming platform (514), wherein each message in the plurality of partitions (516, 518, 520) is associated with a unique identifier, and wherein the streaming platform (514) transmits an end of partition signal to the reader thread associated with an empty partition;a plurality of queues (704) stored in the memory (204) and coupled to the plurality of reader threads, wherein each queue (704) is configured to store messages or an end of partition signal from one of the reader threads, wherein each queue (704) stores messages in a sequence in which the messages are retrieved by the corresponding reader thread, and wherein each queue (704) includes a first position that stores the earliest message stored by a queue (704);and a writer thread executed on the processor (204) and controlled by gate control logic that: compares the identifiers of all of the messages in the first positions of the queues (704) of the plurality of queues, and forwards, to a consuming application, the message associated with the earliest identifier;wherein the gate control logic blocks the writer thread unless each of the queues contains a message or an end of partition signal.
  2. 8
    A computer implemented method of processing messages from a streaming platform (514) including a plurality of partitions (516, 518, 520), wherein each partition is configured to store messages in a sequence in which the messages were received by the partition, the sequence including a first-received message, the method comprising:receiving, by a processor (202), for each partition of the plurality of partitions, one of: (i) messages stored in the partition in the sequence in which the messages were received by the partition, wherein each message in the plurality of partitions is associated with a unique identifier, or (ii) an end of partition signal for a partition that does not contain a message;upon determining, by the processor (202), that a message or an end of partition signal has been received for each partition of the plurality of partitions (516, 518, 520), comparing, by the processor (202), the unique identifiers of each of the received first-received messages;and forwarding, by the processor (202), to a memory (204) the first-received message having the earliest identifier.
  3. 13
    A non-transitory computer readable medium for processing messages from a streaming platform (514) including a plurality of partitions (516, 518, 520), wherein each partition is configured to store messages in a sequence in which the messages were received by the partition, the sequence including a first-received message, the non-transitory computer readable medium storing instructions that, when executed by a processor (202), cause the processor (202) to perform the method of any one of claims 8 to 12.