View Source KafkaMskAuth.KafkaProtocolLib behaviour (kafka_msk_auth v0.1.0)
KafkaProtocolLib module is a facade behavior/implementation for Erlang's Kafka Protocl library modules Ref: https://github.com/kafka4beam/kafka_protocol Contains wrapper functions for methods in kpro, kpro_lib and kpro_req_lib modules Purpose: Creating this as a behavior helps us mock the network calls made during authentication exchanges
Summary
Callbacks
@callback make(atom(), non_neg_integer(), list() | map()) :: {:kpro_req, reference(), atom(), non_neg_integer(), false, binary() | list() | map()}