Skip to content

Commit

Permalink
remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
fwidjaya20 committed Dec 25, 2023
1 parent f82ca07 commit 2487c03
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions event/kafka_driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"reflect"
"sync"

"github.com/Shopify/sarama"
"github.com/ThreeDotsLabs/watermill"
"github.com/ThreeDotsLabs/watermill-kafka/v2/pkg/kafka"
"github.com/ThreeDotsLabs/watermill/message"
Expand Down Expand Up @@ -146,12 +145,6 @@ func (d *KafkaDriver) providePublisher() error {
}

func (d *KafkaDriver) provideSubscriber() error {
d.Logger.WithFields(logrus.Fields{
"Offset": d.InitialOffset,
"To Sarama Offset": d.InitialOffset.SaramaOffset(),
"Sarama Offset": sarama.OffsetOldest,
}).Info("FIND THIS")

if d.subscriber != nil {
return nil
}
Expand Down

0 comments on commit 2487c03

Please sign in to comment.