iproducer.go 196 B

1234567891011
  1. package kafka
  2. import (
  3. "git.beejay.kim/Craft/Api/service"
  4. lib "github.com/confluentinc/confluent-kafka-go/v2/kafka"
  5. )
  6. type Producer interface {
  7. service.Service
  8. Produce(*lib.Message) error
  9. }