Skip to content

Commit

Permalink
Remove topic filter log
Browse files Browse the repository at this point in the history
This won't work until data is actually fetched...

Signed-off-by: Mihai Todor <[email protected]>
  • Loading branch information
mihaitodor committed Jan 14, 2025
1 parent 6dad989 commit 0ce0e32
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions internal/impl/kafka/franz_reader_ordered.go
Original file line number Diff line number Diff line change
Expand Up @@ -411,13 +411,6 @@ func (f *FranzReaderOrdered) Connect(ctx context.Context) error {
return fmt.Errorf("failed to connect to cluster: %s", err)
}

topics := f.Client.GetConsumeTopics()
if len(topics) > 0 {
f.log.Debugf("Consuming from topics: %s", topics)
} else {
f.log.Warn("Topic filter did not match any existing topics")
}

if f.lagUpdater != nil {
f.lagUpdater.Stop()
}
Expand Down
7 changes: 0 additions & 7 deletions internal/impl/kafka/franz_reader_unordered.go
Original file line number Diff line number Diff line change
Expand Up @@ -497,13 +497,6 @@ func (f *FranzReaderUnordered) Connect(ctx context.Context) error {
return fmt.Errorf("failed to connect to cluster: %s", err)
}

topics := cl.GetConsumeTopics()
if len(topics) > 0 {
f.log.Debugf("Consuming from topics: %s", topics)
} else {
f.log.Warn("Topic filter did not match any existing topics")
}

go func() {
defer func() {
cl.Close()
Expand Down

0 comments on commit 0ce0e32

Please sign in to comment.