redhat-developer / redhat-developer/app-services-sdk-go
Unable to update partitions for a topic
Open
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.

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

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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