This article explains how to view and filter for specific records by their partition's offsets and their timestamp.
Seek to a specific record by offset
KaDeck makes it fast and easy to seek to particular offsets in your topic by not requiring you to specify the partition in advance.
Fig. 1 After clicking on "Seek", the input field for the offset slides out to the left.
In the record browser view, click on the button "Seek" in the menu bar and enter the offset that you want to seek to in the input field left to it.
Seek to an offset without specifying the partition in advance
KaDeck will then try to seek to the record in question by scanning all partitions in your topic. Depending on the specified limit (displayed in the bubble "Limit to:" in the Filters section; defaults to 100), additional records with smaller offsets than the particular offset will be displayed as well.
Seek to an offset in a particular partition
To seek to an offset inside one specific partition, toggle off all partitions but the partition of interest.
Tip for more efficiency: If you have many partitions, toggle off all partitions by clicking on "partitions on/off" in the right corner in the Filters section. Then toggle only the partition of interest on back again.
Seek to a specific record by timestamp
KaDeck lets you seek to records by their timestamp.
In the record browser view, click on the button "Seek" in the menu bar and click on the clock icon to the left side of the offset input field.
Fig. 2 After clicking on the timestamp input field, a calendar popup is displayed.
You can enter a UNIX timestamp (including milliseconds) into the timestamp input field or select the date and time in the calendar view that is displayed after clicking on the input field. Confirm by clicking on "Done".
To change the time, click on the time information in the popup and enter the relevant information. Confirm by clicking on "Set Time".
All records older than the required timestamp are displayed. The number of records that are displayed depend on the Limit (shown in the bubble "Limit to:" in the Filters section; defaults to 100) you have specified.
You can use this feature in conjunction with the time limit feature. Click on the clock icon in the record browser's navigation bar at the bottom of the screen. You can then select a specific time window.
Fig. 3 The navigation bar's time window function can be used in conjunction with the "seek to timestamp" feature.
Example: "Show all records that were created from 1:00 pm to 2:00 pm."
- Set the time in the calendar to 1:00 pm confirm by clicking on "Done".
- Then click on "1h" in the record browser's navigation bar at the bottom of the screen.
Note: If you don't see all records, make sure your "Data Fetch Max Records" setting in the settings screen is set high enough. Keep in mind that depending on your machine's hardware specifications, KaDeck might become unresponsive when too many records are being displayed.
We recommend to slowly increment the number and test if the performance is still alright.