@type adapter() :: module()
@type type() :: :default | :stream
@callback get_config(type(), adapter()) :: keyword()