- Seek Type
-
- setCurrentSeekType(option as SeekType)}
- value={currentSeekType}
+
+
+ handlePollingModeSelect(option as PollingMode, value)
+ }
+ value={pollingMode}
selectSize="M"
- minWidth="100px"
- options={SeekTypeOptions}
+ minWidth="128px"
+ optionsMaxHeight="400px"
+ options={pollingModeOptions}
disabled={isTailing}
+ isLive={isLive}
/>
- {currentSeekType === SeekType.OFFSET ? (
+ {(pollingMode === PollingMode.FROM_OFFSET ||
+ pollingMode === PollingMode.TO_OFFSET) && (
= ({
onChange={({ target: { value } }) => setOffset(value)}
disabled={isTailing}
/>
- ) : (
+ )}
+ {(pollingMode === PollingMode.FROM_TIMESTAMP ||
+ pollingMode === PollingMode.TO_TIMESTAMP) && (
setTimestamp(date)}
@@ -482,10 +544,9 @@ const Filters: React.FC = ({
disabled={isTailing}
/>
)}
-
+
- Partitions
({
label: `Partition #${p.partition.toString()}`,
@@ -498,77 +559,84 @@ const Filters: React.FC = ({
disabled={isTailing}
/>
-
- Key Serde
-
-
- Value Serde
-
- Clear all
-
+
+