All Downloads are FREE. Search and download functionalities are using the official Maven repository.

static.faq.topic-browser.timestamp-fetch-faq.html Maven / Gradle / Ivy

Timestamp fetch how to:

  • To retrieve data based on time, follow these steps:

    • 1. Select the appropriate date and time.
    • 2. Press one of the buttons or .
  • If you press the button for "Backward fetch", KM will search for the first record with a timestamp greater than or equal to the chosen timestamp. It will then fetch records in a backward direction until the number of fetched records reaches the limit (default is 100) or until there are not enough records. If there aren't enough records, KM will fetch all the records from the beginning of the partition up to the record with the chosen timestamp. The result of the backward fetch will be a set of records where the last record's timestamp is greater than or equal to the chosen timestamp, with a size limited by the set limit or from the first record of the partition.

  • If you press the button for "Forward fetch", KM will search for the first record with a timestamp greater than or equal to the chosen timestamp. It will then fetch records in a forward direction until the number of fetched records reaches the limit (default is 100) or until there are not enough records. If there aren't enough records, KM will fetch all the records from the record with the chosen timestamp up to the end of each partition. The result of the forward fetch will be a set of records where the first record's timestamp is greater than or equal to the chosen timestamp, with a size limited by the set limit or until the end of the partition.

  • The total limit of records will be evenly distributed across partitions.
    For example, if the limit is set to 100 and the given topic has 6 partitions, the result message table will contain 16 records for each partition after the fetch operation.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy