# Packages
Package kafkamock is a generated GoMock package.
# Functions
DefaultConfig creates a new config used per default.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseBalanceStrategy return BalanceStrategy from assignor.
ParsePartitioner return PartitionerConstructor from scheme.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WithProducerPartitioner use partitioner to generates partition to send messages to (defaults to hashing the message key).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
SASLExtKeyAuth is the reserved extension key name sent as part of the SASL/OAUTHBEARER initial client response.
SASLHandshakeV0 is v0 of the Kafka SASL handshake protocol.
SASLHandshakeV1 is v1 of the Kafka SASL handshake protocol.
No description provided by the author
SASLTypeOAuth represents the SASL/OAUTHBEARER mechanism (Kafka 2.0.0+).
SASLTypePlaintext represents the SASL/PLAIN mechanism.
SASLTypeSCRAMSHA256 represents the SCRAM-SHA-256 mechanism.
SASLTypeSCRAMSHA512 represents the SCRAM-SHA-512 mechanism.
# Structs
AdminConfig is the namespace for ClusterAdmin properties used by the administrative Kafka client.
Config is the configuration for Kafka.
ConsumerHandler represents a Sarama consumer group consumer.
ConsumerOffsets specifies configuration for how and when to commit consumed offsets.
No description provided by the author
No description provided by the author
No description provided by the author
SASL based authentication with broker.
No description provided by the author
No description provided by the author
# Interfaces
go:generate mockgen -destination=./mocks/$GOFILE -source=$GOFILE -package=kafkamock Algorithm determines the hash function used by SCRAM to protect the user's credentials.
No description provided by the author
go:generate mockgen -destination=./mocks/$GOFILE -source=$GOFILE -package=kafkamock.
go:generate mockgen -destination=./mocks/$GOFILE -source=$GOFILE -package=kafkamock.
# Type aliases
ConsumerHandlerFn is invoked for each message received by consumer.
No description provided by the author