@GneyHabub I guess we have to adjust (off by one) `seekTo` param value when clicking on `next` button We have to adjust the offset off by one: +1 in case of "oldest first" and -1 in case of "newest first".
Double topic message display on consequent pages
**Describe the bug**
(A clear and concise description of what the bug is.)
The last message on page 1 of topic messages gets displayed on page 2

**Set up**
(How do you run the app?)
Windows build

**Steps to Reproduce**
Steps to reproduce the behavior:
1. Topics
2. Select a Topic
3. Messages
4. See message 99
5. Click "Next"
6. See message 99 on Page 2

**Expected behavior**
(A clear and concise description of what you expected to happen)
The last message from Page 1 (99) should not be displayed on Page 2

**Screenshots**
(If applicable, add screenshots to help explain your problem)

**Additional context**
(Add any other context about the problem here)
Maybe a feature, not a bug designed to let users see the last message on previous page
kafka-ui-react-app/src/components/Topics/Topic/Details/Messages/MessagesTable.tsx
kafka-ui-react-app/src/components/Topics/Topic/Details/Messages/MessagesTable.tsx
diff --git a/kafka-ui-react-app/src/components/Topics/Topic/Details/Messages/MessagesTable.tsx b/kafka-ui-react-app/src/components/Topics/Topic/Details/Messages/MessagesTable.tsx
index 81268bdeb69..cf6aaf07eca 100644
--- a/kafka-ui-react-app/src/components/Topics/Topic/Details/Messages/MessagesTable.tsx
+++ b/kafka-ui-react-app/src/components/Topics/Topic/Details/Messages/MessagesTable.tsx
@@ -39,10 +39,11 @@ const MessagesTable: React.FC = () => {
         return { offset: 0, partition: parseInt(partition, 10) };
       });
 
+      const seekDirection = searchParams.get('seekDirection');
+      const isBackward = seekDirection === SeekDirection.BACKWARD;
+
       const messageUniqs = map(groupBy(messages, 'partition'), (v) =>
-        searchParams.get('seekDirection') === SeekDirection.BACKWARD
-          ? minBy(v, 'offset')
-          : maxBy(v, 'offset')
+        isBackward ? minBy(v, 'offset') : maxBy(v, 'offset')
       ).map((message) => ({
         offset: message?.offset || 0,
         partition: message?.partition || 0,
@@ -54,7 +55,11 @@ const MessagesTable: React.FC = () => {
           (v) => maxBy(v, 'offset')
         )
       )
-        .map(({ offset, partition }) => `${partition}::${offset}`)
+        .map(({ offset, partition }) => {
+          const offsetQuery = isBackward ? offset : offset + 1;
+
+          return `${partition}::${offsetQuery}`;
+        })
         .join(',');
 
       searchParams.set('seekTo', nextSeekTo);
