Skip to content

Messages: SEEK ERROR with all partitions selected #3525

Closed
@p-eye

Description

@p-eye

Which version of the app are you running?

v0.6.0

Is your proposal related to a problem?

When I seek messages in topic with Offset OR Timestamp, the request is sent without a seekTo paramater.
And I got the error "seekTo should be set if seekType is OFFSET (TIMESTAMP)"

  • request without seekTo parameter
    image

  • error
    image

Describe the solution you'd like

This error occurs after the commit aeda502 (add a new condition disabling to select all partitions)
So removing the condition is a one way.

Describe alternatives you've considered

I guess your commit is for blocking long parameters with GET request.
So this is an alternative i suggest after removing above condition.

AS-IS

  • seekType: TIMESTAMP
  • seekTo: 1::1679324400000,2::1679324400000,3::1679324400000,4::1679324400000,5::1679324400000

TO-BE

  • seekType: TIMESTAMP
  • seekTo: 1679324400000
  • seekPartition: 1,2,3,4,5

Additional context

if these solutions are ok, can i develop it?

  1. only remove condition
  2. remove condition and change seekTo parameter

I would be grateful for your another suggestion.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope/frontendstatus/acceptedAn issue which has passed triage and has been acceptedtype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions