Documentation ¶
Index ¶
Constants ¶
View Source
const (
MaxMessageSizeLimit = 987 // to make sure that the message size is below 1 MB.
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KafkaProducerConfig ¶
type Producer ¶
type Producer struct {
// contains filtered or unexported fields
}
Producer abstracts hub-of-hubs-kafka-transport kafka-producer's generic usage.
func NewProducer ¶
func NewProducer(compressor compressor.Compressor, bootstrapServer string, producerConfig *KafkaProducerConfig, log logr.Logger) (*Producer, error)
NewProducer returns a new instance of Producer object.
Click to show internal directories.
Click to hide internal directories.