[ 
https://issues.apache.org/jira/browse/KAFKA-16282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17818729#comment-17818729
 ] 

Ahmed Sobeh edited comment on KAFKA-16282 at 2/20/24 10:14 AM:
---------------------------------------------------------------

Hi [~showuon]! I will be picking this up. I will start on the KIP doc and post 
it here once it's ready


was (Author: JIRAUSER295920):
Hi [~showuon]! I will be picking this up. I will start on the KIP docs and post 
it here once it's ready

> Allow to get last stable offset (LSO) in kafka-get-offsets.sh
> -------------------------------------------------------------
>
>                 Key: KAFKA-16282
>                 URL: https://issues.apache.org/jira/browse/KAFKA-16282
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Luke Chen
>            Assignee: Ahmed Sobeh
>            Priority: Major
>              Labels: need-kip, newbie, newbie++
>
> Currently, when using `kafka-get-offsets.sh` to get the offset by time, we 
> have these choices:
> {code:java}
> --time <String: <timestamp> /              timestamp of the offsets before 
> that. 
>   -1 or latest /                           [Note: No offset is returned, if 
> the
>   -2 or earliest /                         timestamp greater than recently
>   -3 or max-timestamp /                    committed record timestamp is
>   -4 or earliest-local /                   given.] (default: latest)
>   -5 or latest-tiered      
> {code}
> For the latest choice, it'll always return the "high watermark" because we 
> always send with the default option: *IsolationLevel.READ_UNCOMMITTED*. It 
> would be good if the command can support to get the last stable offset (LSO) 
> for transaction support. That is, sending the option with 
> *IsolationLevel.READ_COMMITTED*



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to