Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
Signed-off-by: Meng Yan <[email protected]>
  • Loading branch information
yanmxa committed Apr 1, 2024
1 parent 1658051 commit e275f27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/transport/kafka_confluent/protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type Protocol struct {
consumerTopics []string
consumerRebalanceCb kafka.RebalanceCb // optional
consumerPollTimeout int // optional
consumerErrorHandler func(ctx context.Context, err kafka.Error) //optional
consumerErrorHandler func(ctx context.Context, err kafka.Error) // optional
consumerMux sync.Mutex
consumerIncoming chan *kafka.Message
consumerCtx context.Context
Expand All @@ -43,7 +43,7 @@ type Protocol struct {
producerDefaultTopic string // optional
producerCtx context.Context
producerCancel context.CancelFunc
producerEventHandler func(ctx context.Context, err kafka.Event) //optional
producerEventHandler func(ctx context.Context, err kafka.Event) // optional

closerMux sync.Mutex
}
Expand Down

0 comments on commit e275f27

Please sign in to comment.