Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-10269

AdminClient ListOffsetsResultInfo/timestamp is always -1

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.5.0
    • Fix Version/s: None
    • Component/s: admin
    • Labels:
      None

      Description

      When using AdminClient/listOffsets the resulting ListOffsetResultInfos appear to always have a timestamp of -1.

      I've run listOffsets against live clusters with multiple Kafka versions (from 1.0 to 2.5) with both CreateTIme and LogAppendTime for message.timestamp.type, every result has -1 timestamp.

      e.g. 

      org.apache.kafka.clients.admin.ListOffsetsResult$ListOffsetsResultInfo#0x5c3a771
      ListOffsetsResultInfo(} offset=23016, timestamp=-1, leaderEpoch=Optional[0])

       

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              d-t-w Derek Troy-West
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: