apache / apache/pulsar-client-go
No need to call GetPartitionedTopicMetadata for old topics if user specifies DeadLetterTopic/RetryLetterTopic in options.DLQ
Open
- Dominant language
- Go
- Stars
- 745
- Forks
- 389
- Avg merge
- 3d 20h
- Merged PRs (30d)
- 3
Description
https://github.com/apache/pulsar-client-go/blob/cc185904de7b42dc97193188874ce6605ff2d560/pulsar/consumer_impl.go#L147-L178
Contributor guide
Research direction
Start at pulsar/consumer_impl.go lines 147-178 and trace the GetPartitionedTopicMetadata call when options.DLQ specifies DeadLetterTopic or RetryLetterTopic. Confirm the old-topic behavior and identify the existing test or caller covering this path; done means the unnecessary metadata call is avoided without changing DLQ or RetryLetterTopic handling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100