apache / apache/pulsar-client-go

topic parse error should be checked

Open
#506 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
745
Forks
389
Avg merge
3d 20h
Merged PRs (30d)
3

Description

#### Expected behavior
`ParseTopicName()` parses topic and its return error should be check,
but currently the `err` is just omitted by assigning to _.
this causes runtime panic.

Contributor guide

Open the contributing guide

Research direction

Start by locating ParseTopicName() and the call that assigns its returned error to _. Trace how the ignored error leads to the runtime panic, then verify that the relevant existing tests prevent the panic once the error is checked.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.