Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Rieb, Elias committed Dec 6, 2023
2 parents 913a25d + 03e0dca commit e13949a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion pkg/aukafka/consumer.go → pkg/kafka/consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type Consumer[E any] struct {
receiveCallback func(ctx context.Context, key *string, event *E, timestamp time.Time) error
}

func CreateConsumer[E any](
func NewConsumer[E any](
ctx context.Context,
topicConfig TopicConfig,
receiveCallback func(context.Context, *string, *E, time.Time) error,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type SyncProducer[V any] struct {
topic string
}

func CreateSyncProducer[V any](
func NewSyncProducer[V any](
_ context.Context,
topicConfig TopicConfig,
configPreset *sarama.Config,
Expand Down
File renamed without changes.

0 comments on commit e13949a

Please sign in to comment.