View Source Kafkaesque.Publisher (Kafkaesque v1.0.0-rc.2)
Stage that publishes messages in Kafka
Takes 3 options:
:repo
: the repo associated with the Kafkaesque instance:producer_pid
: pid of the stage that will produce the messages.:client
: the client module that will be used to publish the messages. Defaults toKafkaesque.Clients.BrodClient
.:client_opts
: A list of options to be passed to the client on startup. Defaults to[]
. The default client requires options, so this can be considered required for most use-cases.:publisher_min_demand
: The minimum demand. See GenStage documentation for more info. Defaults to 190.:publisher_min_demand
: The maximum demand. See GenStage documentation for more info. Defaults to 200.