redhat-developer / redhat-developer/app-services-sdk-go

Unable to update partitions for a topic

Open
#181 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
3
Forks
16
Avg merge
1h 22m
Merged PRs (30d)
4

Description

Staging server throws the error "Unrecognized field \"partitions\". It expects a field numPartitions.

Screenshot from 2021-07-07 22-00-23

Here's the payload in UI where it works fine:

Screenshot from 2021-07-07 22-06-14

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the Go SDK request used to update a topic's partitions and compare its payload with the working UI payload shown in the issue. Done means the request uses the server-accepted field and staging no longer returns the unrecognized-field error.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.