pingcap / pingcap/tidb-binlog

remove confused sarama log `kafka: no specific topics to update metadata`

Open
#969 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

severity/moderate type/bug
Dominant language
Go
Stars
291
Forks
131
Avg merge
5m
Merged PRs (30d)
2

Description

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
    If possible, provide a recipe for reproducing the error.

drainer replicate data to Kafka, found log sarama Client background metadata update:kafka: no specific topics to update metadata

this log may make user confused.

  1. What did you expect to see?

remove this log

  1. Please provide the relate downstream type and version of drainer.
    (run drainer -V in terminal to get drainer's version)

3.0.12

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

Search the repository for the exact log text and trace it to the Sarama metadata-update entry point. Confirm how the message is emitted and check nearby tests; done means the confusing log is no longer emitted while metadata updates continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kafka
Domain
data-engineering, distributed-systems
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.